mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-03 18:29:36 +00:00
i386: hpet assumes boot cpu is 0
I fixed this in x86_64. Looks like the kind of thing that will break voyager on i386. Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: john stultz <johnstul@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
f5352fd0ce
commit
43d6ca0184
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ int __init hpet_enable(void)
|
||||||
* Start hpet with the boot cpu mask and make it
|
* Start hpet with the boot cpu mask and make it
|
||||||
* global after the IO_APIC has been initialized.
|
* global after the IO_APIC has been initialized.
|
||||||
*/
|
*/
|
||||||
hpet_clockevent.cpumask =cpumask_of_cpu(0);
|
hpet_clockevent.cpumask = cpumask_of_cpu(smp_processor_id());
|
||||||
clockevents_register_device(&hpet_clockevent);
|
clockevents_register_device(&hpet_clockevent);
|
||||||
global_clock_event = &hpet_clockevent;
|
global_clock_event = &hpet_clockevent;
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue