aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic_64.c
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2008-08-18 20:45:59 +0400
committerIngo Molnar <mingo@elte.hu>2008-08-19 02:07:17 +0200
commit0b23e8cf553f5e706b0057363f1319867bcd1a7d (patch)
treea9d1116c7c59d81cbc0d88d47366802cbb70201a /arch/x86/kernel/apic_64.c
parentx86: apic - unify end_local_APIC_setup (diff)
downloadlinux-dev-0b23e8cf553f5e706b0057363f1319867bcd1a7d.tar.xz
linux-dev-0b23e8cf553f5e706b0057363f1319867bcd1a7d.zip
x86: apic - unify local_apic_timer_interrupt
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic_64.c')
-rw-r--r--arch/x86/kernel/apic_64.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c
index eec10b34dc49..a9ad2cb4ff95 100644
--- a/arch/x86/kernel/apic_64.c
+++ b/arch/x86/kernel/apic_64.c
@@ -567,7 +567,11 @@ static void local_apic_timer_interrupt(void)
/*
* the NMI deadlock-detector uses this.
*/
+#ifdef CONFIG_X86_64
add_pda(apic_timer_irqs, 1);
+#else
+ per_cpu(irq_stat, cpu).apic_timer_irqs++;
+#endif
evt->event_handler(evt);
}