|
@@ -178,11 +178,7 @@ static void native_smp_send_stop(void)
|
|
|
void smp_reschedule_interrupt(struct pt_regs *regs)
|
|
|
{
|
|
|
ack_APIC_irq();
|
|
|
-#ifdef CONFIG_X86_32
|
|
|
- __get_cpu_var(irq_stat).irq_resched_count++;
|
|
|
-#else
|
|
|
- add_pda(irq_resched_count, 1);
|
|
|
-#endif
|
|
|
+ inc_irq_stat(irq_resched_count);
|
|
|
}
|
|
|
|
|
|
void smp_call_function_interrupt(struct pt_regs *regs)
|
|
@@ -190,11 +186,7 @@ void smp_call_function_interrupt(struct pt_regs *regs)
|
|
|
ack_APIC_irq();
|
|
|
irq_enter();
|
|
|
generic_smp_call_function_interrupt();
|
|
|
-#ifdef CONFIG_X86_32
|
|
|
- __get_cpu_var(irq_stat).irq_call_count++;
|
|
|
-#else
|
|
|
- add_pda(irq_call_count, 1);
|
|
|
-#endif
|
|
|
+ inc_irq_stat(irq_call_count);
|
|
|
irq_exit();
|
|
|
}
|
|
|
|
|
@@ -203,11 +195,7 @@ void smp_call_function_single_interrupt(struct pt_regs *regs)
|
|
|
ack_APIC_irq();
|
|
|
irq_enter();
|
|
|
generic_smp_call_function_single_interrupt();
|
|
|
-#ifdef CONFIG_X86_32
|
|
|
- __get_cpu_var(irq_stat).irq_call_count++;
|
|
|
-#else
|
|
|
- add_pda(irq_call_count, 1);
|
|
|
-#endif
|
|
|
+ inc_irq_stat(irq_call_count);
|
|
|
irq_exit();
|
|
|
}
|
|
|
|