Messages in this thread Patch in this message | | | Date | Tue, 8 Apr 2003 01:45:26 +0100 | From | Alan Cox <> | Subject | PATCH: use mach io_ports definitions in io_apic |
| |
Allows for the non standard cascade
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.67/arch/i386/kernel/io_apic.c linux-2.5.67-ac1/arch/i386/kernel/io_apic.c --- linux-2.5.67/arch/i386/kernel/io_apic.c 2003-04-08 00:37:34.000000000 +0100 +++ linux-2.5.67-ac1/arch/i386/kernel/io_apic.c 2003-04-08 00:40:21.000000000 +0100 @@ -38,6 +38,8 @@ #include <mach_apic.h> +#include "io_ports.h" + #undef APIC_LOCKUP_DEBUG #define APIC_LOCKUP_DEBUG @@ -2135,7 +2137,7 @@ * Additionally, something is definitely wrong with irq9 * on PIIX4 boards. */ -#define PIC_IRQS (1<<2) +#define PIC_IRQS (1 << PIC_CASCADE_IR) void __init setup_IO_APIC(void) { - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |