From 0d5a4cf6690017448515a74368805422e825603d Mon Sep 17 00:00:00 2001 From: Kanoj Sarcar Date: Tue, 6 Jun 2000 23:12:52 +0000 Subject: Get the mapped kernel working for SMP kernels. While launching slaves, pass the proper address for the slave bootstrap routine based on where the kernel is compiled at. --- include/asm-mips64/addrspace.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/asm-mips64/addrspace.h') diff --git a/include/asm-mips64/addrspace.h b/include/asm-mips64/addrspace.h index 90c33a22a..bfbdebb1c 100644 --- a/include/asm-mips64/addrspace.h +++ b/include/asm-mips64/addrspace.h @@ -109,6 +109,7 @@ #define PHYS_TO_COMPATK1(x) ((x) | COMPAT_K1BASE32) /* 32-bit compat k1 */ #endif -#define KDM_TO_PHYS(x) ((x) & TO_PHYS_MASK) +#define KDM_TO_PHYS(x) ((unsigned long)(x) & TO_PHYS_MASK) +#define PHYS_TO_K0(x) ((unsigned long)(x) | K0BASE) #endif /* _ASM_ADDRSPACE_H */ -- cgit v1.2.3