Skip to content

Commit f4fae82

Browse files
committed
[MIPS] Optimize __alloc_zeroed_user_highpage implementation.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent db813fe commit f4fae82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/asm-mips/page.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ typedef struct { unsigned long pgprot; } pgprot_t;
142142
/*
143143
* __pa()/__va() should be used only during mem init.
144144
*/
145-
#ifdef KBUILD_64BIT_SYM32
145+
#ifdef CONFIG_64BIT
146146
#define __pa(x) \
147147
({ \
148148
unsigned long __x = (unsigned long)(x); \

0 commit comments

Comments
 (0)