Commit 43d6ca01 authored by Chris Wright's avatar Chris Wright Committed by Linus Torvalds
Browse files

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: default avatarChris Wright <>
Signed-off-by: default avatarThomas Gleixner <>
Cc: Ingo Molnar <>
Cc: john stultz <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarAndi Kleen <>
Signed-off-by: default avatarLinus Torvalds <>
parent f5352fd0
......@@ -326,7 +326,7 @@ int __init hpet_enable(void)
* Start hpet with the boot cpu mask and make it
* global after the IO_APIC has been initialized.
hpet_clockevent.cpumask =cpumask_of_cpu(0);
hpet_clockevent.cpumask = cpumask_of_cpu(smp_processor_id());
global_clock_event = &hpet_clockevent;
return 1;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment