summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/page.h
diff options
context:
space:
mode:
authorRalf Baechle2005-10-07 17:58:15 +0200
committerRalf Baechle2005-10-29 20:32:37 +0200
commitec917c2c1ab4359a1d438e62daeb50cc42e632e1 (patch)
treedeb2e00bee354577e1f19b7b70c1a2037828a957 /include/asm-mips/page.h
parentDocument the meaning of the CPU_MIPS32, CPU_MIPS64, CPU_MIPSR1 and (diff)
downloadkernel-qcow2-linux-ec917c2c1ab4359a1d438e62daeb50cc42e632e1.tar.gz
kernel-qcow2-linux-ec917c2c1ab4359a1d438e62daeb50cc42e632e1.tar.xz
kernel-qcow2-linux-ec917c2c1ab4359a1d438e62daeb50cc42e632e1.zip
Fixup a few lose ends in explicit support for MIPS R1/R2.
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 0076a537cf0c..ee25a779bf49 100644
--- a/include/asm-mips/page.h
+++ b/include/asm-mips/page.h
@@ -76,7 +76,7 @@ static inline void copy_user_page(void *vto, void *vfrom, unsigned long vaddr,
* These are used to make use of C type-checking..
*/
#ifdef CONFIG_64BIT_PHYS_ADDR
- #ifdef CONFIG_CPU_MIPS32_R1
+ #ifdef CONFIG_CPU_MIPS32
typedef struct { unsigned long pte_low, pte_high; } pte_t;
#define pte_val(x) ((x).pte_low | ((unsigned long long)(x).pte_high << 32))
#else