Skip to contentSkip to conversation

Enable IRQ0 for PPC4xx UART.

PATCH New Valentine Barshak 1 participant 1 message Mar 20, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Enable IRQ0 for PPC4xx UART.

[PATCH] Enable IRQ0 for PPC4xx UART

Redefine is_real_interrupt(irq) macro,
since IRQ0 is valid for PPC4xx platform.

include/asm-ppc/serial.h +3 -0
diff -ruN linux.orig/include/asm-ppc/serial.h linux/include/asm-ppc/serial.h
@@ -28,6 +28,9 @@
 #elif defined(CONFIG_SPRUCE)
 #include <platforms/spruce.h>
 #elif defined(CONFIG_4xx)
+/* UART IRQ0 is valid for PPC4xx */
+#undef is_real_interrupt
+#define is_real_interrupt(irq)	((irq) >= 0)
 #include <asm/ibm4xx.h>
 #elif defined(CONFIG_83xx)
 #include <asm/mpc83xx.h>