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
2 changed files with 8 additions and 0 deletions
|
@ -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 a new issue