[PATCH] x86_64: Resend lost APIC IRQs on Uniprocessor too
Linux Kernel Mailing List <[email protected]> Thu, 07 Apr 2005 12:08:32 +0000
| Newsgroups | gmane.linux.kernel.commits.2-4 |
|---|---|
| Message-ID | <[email protected]> |
ChangeSet 1.1500, 2005/04/07 09:08:32-03:00, [email protected] [PATCH] x86_64: Resend lost APIC IRQs on Uniprocessor too Resend lost APIC IRQs on Uniprocessor too From: Petr Vandrovec hw_resend_irq must be enabled on uni processor IO_APIC kernel too. This will prevent some lost interrupts (e.g. together with VIA IDE hardware) Signed-off-by: Andi Kleen <[email protected]> Index: linux/include/asm-x86_64/hw_irq.h =================================================================== hw_irq.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/include/asm-x86_64/hw_irq.h b/include/asm-x86_64/hw_irq.h --- a/include/asm-x86_64/hw_irq.h 2005-04-07 11:04:07 -07:00 +++ b/include/asm-x86_64/hw_irq.h 2005-04-07 11:04:07 -07:00 @@ -156,7 +156,7 @@ atomic_inc((atomic_t *)&prof_buffer[eip]); } -#ifdef CONFIG_SMP /*more of this file should probably be ifdefed SMP */ +#ifdef CONFIG_X86_IO_APIC static inline void hw_resend_irq(struct hw_interrupt_type *h, unsigned int i) { if (IO_APIC_IRQ(i)) send_IPI_self(IO_APIC_VECTOR(i));