summaryrefslogtreecommitdiff
path: root/include/asm-mips/page.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-10-11 22:46:12 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2007-10-11 22:46:12 (GMT)
commitf4fae8267c152d6c319a7bfaf92ed1c2c9a2c4e8 (patch)
tree5c43b9e75589b86f52af11dd5c41829dbb75b6ae /include/asm-mips/page.h
parentdb813fe5a77d03b29e872da47463d2efbddc3fc2 (diff)
downloadlinux-fsl-qoriq-f4fae8267c152d6c319a7bfaf92ed1c2c9a2c4e8.tar.xz
[MIPS] Optimize __alloc_zeroed_user_highpage implementation.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/page.h')
-rw-r--r--include/asm-mips/page.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/page.h b/include/asm-mips/page.h
index c90fe56..e3301e5 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); \