[VOYAGER] add smp alternatives
It's about time voyager had them Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
9d0e59a341
commit
d6444514b8
1 changed files with 2 additions and 0 deletions
|
@ -564,6 +564,8 @@ do_boot_cpu(__u8 cpu)
|
||||||
hijack_source.idt.Segment = (start_phys_address >> 4) & 0xFFFF;
|
hijack_source.idt.Segment = (start_phys_address >> 4) & 0xFFFF;
|
||||||
|
|
||||||
cpucount++;
|
cpucount++;
|
||||||
|
alternatives_smp_switch(1);
|
||||||
|
|
||||||
idle = fork_idle(cpu);
|
idle = fork_idle(cpu);
|
||||||
if(IS_ERR(idle))
|
if(IS_ERR(idle))
|
||||||
panic("failed fork for CPU%d", cpu);
|
panic("failed fork for CPU%d", cpu);
|
||||||
|
|
Loading…
Reference in a new issue