aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/apic_32.c4
-rw-r--r--arch/x86/kernel/apic_64.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic_32.c b/arch/x86/kernel/apic_32.c
index 20d4dbc42e6e..d07a603807d1 100644
--- a/arch/x86/kernel/apic_32.c
+++ b/arch/x86/kernel/apic_32.c
@@ -377,8 +377,10 @@ void __init setup_boot_APIC_clock(void)
377 */ 377 */
378 if (local_apic_timer_disabled) { 378 if (local_apic_timer_disabled) {
379 /* No broadcast on UP ! */ 379 /* No broadcast on UP ! */
380 if (num_possible_cpus() > 1) 380 if (num_possible_cpus() > 1) {
381 lapic_clockevent.mult = 1;
381 setup_APIC_timer(); 382 setup_APIC_timer();
383 }
382 return; 384 return;
383 } 385 }
384 386
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c
index 731b48660fc4..01d4ca27ecf0 100644
--- a/arch/x86/kernel/apic_64.c
+++ b/arch/x86/kernel/apic_64.c
@@ -375,8 +375,10 @@ void __init setup_boot_APIC_clock(void)
375 if (disable_apic_timer) { 375 if (disable_apic_timer) {
376 printk(KERN_INFO "Disabling APIC timer\n"); 376 printk(KERN_INFO "Disabling APIC timer\n");
377 /* No broadcast on UP ! */ 377 /* No broadcast on UP ! */
378 if (num_possible_cpus() > 1) 378 if (num_possible_cpus() > 1) {
379 lapic_clockevent.mult = 1;
379 setup_APIC_timer(); 380 setup_APIC_timer();
381 }
380 return; 382 return;
381 } 383 }
382 384