forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-09-20 a36159eec6ca17402b0e146b86efaf76568dc353
kernel/arch/mips/include/asm/addrspace.h
....@@ -135,17 +135,8 @@
135135 */
136136 #define TO_PHYS_MASK _CONST64_(0x07ffffffffffffff) /* 2^^59 - 1 */
137137
138
-#ifndef CONFIG_CPU_R8000
139
-
140
-/*
141
- * The R8000 doesn't have the 32-bit compat spaces so we don't define them
142
- * in order to catch bugs in the source code.
143
- */
144
-
145138 #define COMPAT_K1BASE32 _CONST64_(0xffffffffa0000000)
146139 #define PHYS_TO_COMPATK1(x) ((x) | COMPAT_K1BASE32) /* 32-bit compat k1 */
147
-
148
-#endif
149140
150141 #define KDM_TO_PHYS(x) (_ACAST64_ (x) & TO_PHYS_MASK)
151142 #define PHYS_TO_K0(x) (_ACAST64_ (x) | CAC_BASE)