|
@@ -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;
|