summaryrefslogtreecommitdiffstats
path: root/arch/i386/mach-voyager
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2007-05-01 17:13:46 +0200
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-05-01 17:13:46 +0200
commitd6444514b89098284099c17b9f168ef6236d3e8f (patch)
treee4419419c458494e4ef06cad058cc4035a92092a /arch/i386/mach-voyager
parent[VOYAGER] Use modern techniques to setup and teardown low identiy mappings. (diff)
downloadlinux-d6444514b89098284099c17b9f168ef6236d3e8f.tar.xz
linux-d6444514b89098284099c17b9f168ef6236d3e8f.zip
[VOYAGER] add smp alternatives
It's about time voyager had them Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'arch/i386/mach-voyager')
-rw-r--r--arch/i386/mach-voyager/voyager_smp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/mach-voyager/voyager_smp.c b/arch/i386/mach-voyager/voyager_smp.c
index 535fb9e754fb..fe0ed393294c 100644
--- a/arch/i386/mach-voyager/voyager_smp.c
+++ b/arch/i386/mach-voyager/voyager_smp.c
@@ -564,6 +564,8 @@ do_boot_cpu(__u8 cpu)
hijack_source.idt.Segment = (start_phys_address >> 4) & 0xFFFF;
cpucount++;
+ alternatives_smp_switch(1);
+
idle = fork_idle(cpu);
if(IS_ERR(idle))
panic("failed fork for CPU%d", cpu);