[MIPS] Optimize __alloc_zeroed_user_highpage implementation.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -142,7 +142,7 @@ typedef struct { unsigned long pgprot; } pgprot_t;
|
|||||||
/*
|
/*
|
||||||
* __pa()/__va() should be used only during mem init.
|
* __pa()/__va() should be used only during mem init.
|
||||||
*/
|
*/
|
||||||
#ifdef KBUILD_64BIT_SYM32
|
#ifdef CONFIG_64BIT
|
||||||
#define __pa(x) \
|
#define __pa(x) \
|
||||||
({ \
|
({ \
|
||||||
unsigned long __x = (unsigned long)(x); \
|
unsigned long __x = (unsigned long)(x); \
|
||||||
|
Reference in New Issue
Block a user