diff options
author | Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> | 2008-12-12 15:52:26 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-16 22:30:19 +0100 |
commit | 8ae936690972dfcad73d0dde1095b9f32af5ee95 (patch) | |
tree | fa4f81646cdef3f9f0bd1f86a2dc64c045b23540 /arch/x86/kernel/time_32.c | |
parent | 915b0d0104b72fd36af088ba4b11b5690bc96a6c (diff) | |
download | linux-8ae936690972dfcad73d0dde1095b9f32af5ee95.tar.gz linux-8ae936690972dfcad73d0dde1095b9f32af5ee95.tar.bz2 linux-8ae936690972dfcad73d0dde1095b9f32af5ee95.zip |
x86: hardirq: use inc_irq_stat() in non-unified functions
Impact: cleanup
Replace incrementing irq stat with inc_irq_stat() in non-unified functions.
Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/time_32.c')
-rw-r--r-- | arch/x86/kernel/time_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/time_32.c b/arch/x86/kernel/time_32.c index 77b400f06ea2..65309e4cb1c0 100644 --- a/arch/x86/kernel/time_32.c +++ b/arch/x86/kernel/time_32.c @@ -75,7 +75,7 @@ EXPORT_SYMBOL(profile_pc); irqreturn_t timer_interrupt(int irq, void *dev_id) { /* Keep nmi watchdog up to date */ - per_cpu(irq_stat, smp_processor_id()).irq0_irqs++; + inc_irq_stat(irq0_irqs); #ifdef CONFIG_X86_IO_APIC if (timer_ack) { |