aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/apic/apic.c4
-rw-r--r--arch/x86/kernel/smpboot.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c
index 437c35bdddc8..b665d241efad 100644
--- a/arch/x86/kernel/apic/apic.c
+++ b/arch/x86/kernel/apic/apic.c
@@ -2244,6 +2244,8 @@ int __init apic_bsp_setup(bool upmode)
2244 end_local_APIC_setup(); 2244 end_local_APIC_setup();
2245 irq_remap_enable_fault_handling(); 2245 irq_remap_enable_fault_handling();
2246 setup_IO_APIC(); 2246 setup_IO_APIC();
2247 /* Setup local timer */
2248 x86_init.timers.setup_percpu_clockev();
2247 return id; 2249 return id;
2248} 2250}
2249 2251
@@ -2284,8 +2286,6 @@ int __init APIC_init_uniprocessor(void)
2284 default_setup_apic_routing(); 2286 default_setup_apic_routing();
2285 verify_local_APIC(); 2287 verify_local_APIC();
2286 apic_bsp_setup(true); 2288 apic_bsp_setup(true);
2287
2288 x86_init.timers.setup_percpu_clockev();
2289 return 0; 2289 return 0;
2290} 2290}
2291 2291
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 0a46e5e4fa1f..febc6aabc72e 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -1163,12 +1163,8 @@ void __init native_smp_prepare_cpus(unsigned int max_cpus)
1163 1163
1164 cpu0_logical_apicid = apic_bsp_setup(false); 1164 cpu0_logical_apicid = apic_bsp_setup(false);
1165 1165
1166 /*
1167 * Set up local APIC timer on boot CPU.
1168 */
1169 pr_info("CPU%d: ", 0); 1166 pr_info("CPU%d: ", 0);
1170 print_cpu_info(&cpu_data(0)); 1167 print_cpu_info(&cpu_data(0));
1171 x86_init.timers.setup_percpu_clockev();
1172 1168
1173 if (is_uv_system()) 1169 if (is_uv_system())
1174 uv_system_init(); 1170 uv_system_init();