[MIPS] Optimize __alloc_zeroed_user_highpage implementation.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 11 Oct 2007 22:46:12 +0000 (23:46 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 11 Oct 2007 22:46:12 +0000 (23:46 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/page.h

index c90fe56..e3301e5 100644 (file)
@@ -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);                            \