patch-2.4.0-test3 linux/include/asm-mips64/addrspace.h
Next file: linux/include/asm-mips64/bitops.h
Previous file: linux/include/asm-mips/uaccess.h
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Sun Jul 9 22:18:15 2000
- Orig file:
v2.4.0-test2/linux/include/asm-mips64/addrspace.h
- Orig date:
Tue May 23 15:31:36 2000
diff -u --recursive --new-file v2.4.0-test2/linux/include/asm-mips64/addrspace.h linux/include/asm-mips64/addrspace.h
@@ -109,4 +109,7 @@
#define PHYS_TO_COMPATK1(x) ((x) | COMPAT_K1BASE32) /* 32-bit compat k1 */
#endif
+#define KDM_TO_PHYS(x) ((unsigned long)(x) & TO_PHYS_MASK)
+#define PHYS_TO_K0(x) ((unsigned long)(x) | K0BASE)
+
#endif /* _ASM_ADDRSPACE_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)