Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b23e8cf authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Ingo Molnar
Browse files

x86: apic - unify local_apic_timer_interrupt



Signed-off-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent fa6b95fc
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);
}
+4 −0
Original line number Diff line number Diff line
@@ -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);
}