From b047e7579dd01cfc5f8a2d3ee8adc93ea4b29694 Mon Sep 17 00:00:00 2001 From: Kanoj Sarcar Date: Thu, 8 Jun 2000 01:11:46 +0000 Subject: SMP Mapped kernel fixes to go along with the new layout. Use properly massaged bootstrap address so that the PRM launches the slaves into legal code. --- include/asm-mips64/sn/mapped_kernel.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/asm-mips64/sn') diff --git a/include/asm-mips64/sn/mapped_kernel.h b/include/asm-mips64/sn/mapped_kernel.h index 07e799b96..3724b2774 100644 --- a/include/asm-mips64/sn/mapped_kernel.h +++ b/include/asm-mips64/sn/mapped_kernel.h @@ -26,13 +26,16 @@ #ifdef CONFIG_MAPPED_KERNEL #define MAPPED_KERN_RO_TO_PHYS(x) (x - CKSSEG) +#define MAPPED_KERN_RW_TO_PHYS(x) (x - CKSSEG - 16777216) #else /* CONFIG_MAPPED_KERNEL */ #define MAPPED_KERN_RO_TO_PHYS(x) (x - CKSEG0) +#define MAPPED_KERN_RW_TO_PHYS(x) (x - CKSEG0) #endif /* CONFIG_MAPPED_KERNEL */ #define MAPPED_KERN_RO_TO_K0(x) PHYS_TO_K0(MAPPED_KERN_RO_TO_PHYS(x)) +#define MAPPED_KERN_RW_TO_K0(x) PHYS_TO_K0(MAPPED_KERN_RW_TO_PHYS(x)) #endif __ASM_SN_MAPPED_KERNEL_H -- cgit v1.2.3