[PATCH][v850] Update irq.c on v850 to use irqreturn_t
Miles Bader (miles@lsi.nec.co.jp)
Tue, 27 May 2003 18:21:33 +0900 (JST)
diff -ruN -X../cludes linux-2.5.70/arch/v850/kernel/irq.c linux-2.5.70-v850-20030527/arch/v850/kernel/irq.c
--- linux-2.5.70/arch/v850/kernel/irq.c 2003-03-18 13:23:02.000000000 +0900
+++ linux-2.5.70-v850-20030527/arch/v850/kernel/irq.c 2003-05-27 16:09:43.000000000 +0900
@@ -35,7 +35,7 @@
* Special irq handlers.
*/
-void no_action(int cpl, void *dev_id, struct pt_regs *regs) { }
+irqreturn_t no_action(int cpl, void *dev_id, struct pt_regs *regs) { }
/*
* Generic no controller code
@@ -352,7 +352,7 @@
*/
int request_irq(unsigned int irq,
- void (*handler)(int, void *, struct pt_regs *),
+ irqreturn_t (*handler)(int, void *, struct pt_regs *),
unsigned long irqflags,
const char * devname,
void *dev_id)
-
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/