[VOYAGER] add smp alternatives
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 1 May 2007 15:13:46 +0000 (10:13 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 1 May 2007 15:13:46 +0000 (10:13 -0500)
It's about time voyager had them

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
arch/i386/mach-voyager/voyager_smp.c

index 535fb9e754fbc6cf2a150057948542de45adc650..fe0ed393294cf7aa9ffdb5031901300d87e45c5f 100644 (file)
@@ -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);