projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d0e59a
)
[VOYAGER] add smp alternatives
author
James Bottomley
<
[email protected]
>
Tue, 1 May 2007 15:13:46 +0000
(10:13 -0500)
committer
James Bottomley
<
[email protected]
>
Tue, 1 May 2007 15:13:46 +0000
(10:13 -0500)
It's about time voyager had them
Signed-off-by: James Bottomley <
[email protected]
>
arch/i386/mach-voyager/voyager_smp.c
patch
|
blob
|
history
diff --git
a/arch/i386/mach-voyager/voyager_smp.c
b/arch/i386/mach-voyager/voyager_smp.c
index 535fb9e754fbc6cf2a150057948542de45adc650..fe0ed393294cf7aa9ffdb5031901300d87e45c5f 100644
(file)
--- 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);