mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 09:02:17 +00:00
x86: apic - unify local_apic_timer_interrupt
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
fa6b95fc7c
commit
0b23e8cf55
@ -685,7 +685,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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user