From: Ralf Baechle Date: Thu, 11 Oct 2007 22:46:12 +0000 (+0100) Subject: [MIPS] Optimize __alloc_zeroed_user_highpage implementation. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f4fae8267c152d6c319a7bfaf92ed1c2c9a2c4e8;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [MIPS] Optimize __alloc_zeroed_user_highpage implementation. Signed-off-by: Ralf Baechle --- diff --git a/include/asm-mips/page.h b/include/asm-mips/page.h index c90fe560a0d9..e3301e54d559 100644 --- a/include/asm-mips/page.h +++ b/include/asm-mips/page.h @@ -142,7 +142,7 @@ typedef struct { unsigned long pgprot; } pgprot_t; /* * __pa()/__va() should be used only during mem init. */ -#ifdef KBUILD_64BIT_SYM32 +#ifdef CONFIG_64BIT #define __pa(x) \ ({ \ unsigned long __x = (unsigned long)(x); \