diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-06-06 23:12:52 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-06-06 23:12:52 +0000 |
commit | 0d5a4cf6690017448515a74368805422e825603d (patch) | |
tree | ba8541b776885b26d4107d55626cfaeb882c5644 /arch | |
parent | ae7b68de40ce4d1933c7e0766d2f01e9babc4be8 (diff) |
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.
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips64/sgi-ip27/ip27-init.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/mips64/sgi-ip27/ip27-init.c b/arch/mips64/sgi-ip27/ip27-init.c index e2e373de0..dbd51d3e6 100644 --- a/arch/mips64/sgi-ip27/ip27-init.c +++ b/arch/mips64/sgi-ip27/ip27-init.c @@ -21,6 +21,7 @@ #include <asm/sn/launch.h> #include <asm/sn/sn_private.h> #include <asm/sn/sn0/ip27.h> +#include <asm/sn/mapped_kernel.h> #define CPU_NONE (cpuid_t)-1 @@ -447,9 +448,9 @@ void allowboot(void) * (so that current-> works). */ LAUNCH_SLAVE(cputonasid(num_cpus),cputoslice(num_cpus), - (launch_proc_t)bootstrap, 0, - (void *)((unsigned long)p+KERNEL_STACK_SIZE - 32), - (void *)p); + (launch_proc_t)MAPPED_KERN_RO_TO_K0(bootstrap), + 0, (void *)((unsigned long)p + + KERNEL_STACK_SIZE - 32), (void *)p); /* * Now optimistically set the mapping arrays. We |