summaryrefslogtreecommitdiffstats
path: root/include/asm-mips64/addrspace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips64/addrspace.h')
-rw-r--r--include/asm-mips64/addrspace.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-mips64/addrspace.h b/include/asm-mips64/addrspace.h
index d4343a4b9..1591e1071 100644
--- a/include/asm-mips64/addrspace.h
+++ b/include/asm-mips64/addrspace.h
@@ -104,4 +104,9 @@
#endif
#define K2BASE 0xc000000000000000
+#if !defined (CONFIG_CPU_R8000)
+#define COMPAT_K1BASE32 0xffffffffa0000000
+#define PHYS_TO_COMPATK1(x) ((x) | COMPAT_K1BASE32) /* 32-bit compat k1 */
+#endif
+
#endif /* _ASM_ADDRSPACE_H */