[PATCH] v850: Return value from no_action in irq.c

Miles Bader
2004-07-05T09:39:09Z

Signed-off-by: Miles Bader <miles@gnu.org>

arch/v850/kernel/irq.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)

diff -ruN -X../cludes linux-2.6.7-uc0/arch/v850/kernel/irq.c linux-2.6.7-uc0-v850-20040705/arch/v850/kernel/irq.c
--- linux-2.6.7-uc0/arch/v850/kernel/irq.c 2004-02-06 10:21:55.000000000 +0900
+++ linux-2.6.7-uc0-v850-20040705/arch/v850/kernel/irq.c 2004-07-05 18:13:28.000000000 +0900
@@ -1,8 +1,8 @@
/*
* arch/v850/kernel/irq.c -- High-level interrupt handling
*
- * Copyright (C) 2001,02,03 NEC Electronics Corporation
- * Copyright (C) 2001,02,03 Miles Bader <miles@gnu.org>
+ * Copyright (C) 2001,02,03,04 NEC Electronics Corporation
+ * Copyright (C) 2001,02,03,04 Miles Bader <miles@gnu.org>
* Copyright (C) 1994-2000 Ralf Baechle
* Copyright (C) 1992 Linus Torvalds
*
@@ -40,7 +40,10 @@
* Special irq handlers.
*/

-irqreturn_t no_action(int cpl, void *dev_id, struct pt_regs *regs) { }
+irqreturn_t no_action(int cpl, void *dev_id, struct pt_regs *regs)
+{
+ return IRQ_NONE;
+}

/*
* Generic no controller code