forked from luck/tmp_suning_uos_patched
[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
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user