diff options
author | Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> | 2008-12-12 18:52:26 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-16 16:30:19 -0500 |
commit | 8ae936690972dfcad73d0dde1095b9f32af5ee95 (patch) | |
tree | fa4f81646cdef3f9f0bd1f86a2dc64c045b23540 /arch/x86/kernel/tlb_32.c | |
parent | 915b0d0104b72fd36af088ba4b11b5690bc96a6c (diff) |
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/tlb_32.c')
-rw-r--r-- | arch/x86/kernel/tlb_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/tlb_32.c b/arch/x86/kernel/tlb_32.c index f4049f3513b6..f374f83fca42 100644 --- a/arch/x86/kernel/tlb_32.c +++ b/arch/x86/kernel/tlb_32.c | |||
@@ -119,7 +119,7 @@ void smp_invalidate_interrupt(struct pt_regs *regs) | |||
119 | smp_mb__after_clear_bit(); | 119 | smp_mb__after_clear_bit(); |
120 | out: | 120 | out: |
121 | put_cpu_no_resched(); | 121 | put_cpu_no_resched(); |
122 | __get_cpu_var(irq_stat).irq_tlb_count++; | 122 | inc_irq_stat(irq_tlb_count); |
123 | } | 123 | } |
124 | 124 | ||
125 | void native_flush_tlb_others(const cpumask_t *cpumaskp, struct mm_struct *mm, | 125 | void native_flush_tlb_others(const cpumask_t *cpumaskp, struct mm_struct *mm, |