aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/hpet.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/hpet.c')
-rw-r--r--arch/i386/kernel/hpet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/hpet.c b/arch/i386/kernel/hpet.c
index b93310d11950..533d4932bc79 100644
--- a/arch/i386/kernel/hpet.c
+++ b/arch/i386/kernel/hpet.c
@@ -326,7 +326,7 @@ int __init hpet_enable(void)
326 * Start hpet with the boot cpu mask and make it 326 * Start hpet with the boot cpu mask and make it
327 * global after the IO_APIC has been initialized. 327 * global after the IO_APIC has been initialized.
328 */ 328 */
329 hpet_clockevent.cpumask =cpumask_of_cpu(0); 329 hpet_clockevent.cpumask = cpumask_of_cpu(smp_processor_id());
330 clockevents_register_device(&hpet_clockevent); 330 clockevents_register_device(&hpet_clockevent);
331 global_clock_event = &hpet_clockevent; 331 global_clock_event = &hpet_clockevent;
332 return 1; 332 return 1;