Commit 0a917d84 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] use mach io_ports definitions in io_apic

Allows for the non standard cascade
parent d747e6b5
...@@ -38,6 +38,8 @@ ...@@ -38,6 +38,8 @@
#include <mach_apic.h> #include <mach_apic.h>
#include "io_ports.h"
#undef APIC_LOCKUP_DEBUG #undef APIC_LOCKUP_DEBUG
#define APIC_LOCKUP_DEBUG #define APIC_LOCKUP_DEBUG
...@@ -2135,7 +2137,7 @@ static inline void check_timer(void) ...@@ -2135,7 +2137,7 @@ static inline void check_timer(void)
* Additionally, something is definitely wrong with irq9 * Additionally, something is definitely wrong with irq9
* on PIIX4 boards. * on PIIX4 boards.
*/ */
#define PIC_IRQS (1<<2) #define PIC_IRQS (1 << PIC_CASCADE_IR)
void __init setup_IO_APIC(void) void __init setup_IO_APIC(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment