]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-mips/irq.h
Merge branch 'linus' of master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa
[linux-2.6-omap-h63xx.git] / include / asm-mips / irq.h
index 386da82e57747e4cc08b9351fe71f23e7be6a412..91803ba30ff2abd2ac5d4c19b39b1f4590e5af8d 100644 (file)
@@ -18,7 +18,7 @@
 #ifdef CONFIG_I8259
 static inline int irq_canonicalize(int irq)
 {
-       return ((irq == 2) ? 9 : irq);
+       return ((irq == I8259A_IRQ_BASE + 2) ? I8259A_IRQ_BASE + 9 : irq);
 }
 #else
 #define irq_canonicalize(irq) (irq)    /* Sane hardware, sane code ... */