Skip to contentSkip to conversation

proper __do_softirq() prototype

PATCH In review Adrian Bunk 2 participants 2 messages Feb 22, 2008 – Feb 23, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 proper __do_softirq() prototype

This patch adds a proper prototype for __do_softirq() in include/linux/interrupt.h

---

 arch/s390/kernel/irq.c    |    2 --
 arch/sh/kernel/irq.c      |    2 --
 arch/x86/kernel/irq_32.c  |    2 --
 include/asm-powerpc/irq.h |    2 --
 include/linux/interrupt.h |    1 +
 5 files changed, 1 insertion(+), 8 deletions(-)

746ab96445cd401fa4cfed6704628ea6efe75d63 diff --git a/arch/s390/kernel/irq.c b/arch/s390/kernel/irq.c index c36d812..c59a86d 100644

arch/s390/kernel/irq.c +0 -2
@@ -60,8 +60,6 @@ init_IRQ(void)
 /*
  * Switch to the asynchronous interrupt stack for softirq execution.
  */
-extern void __do_softirq(void);
-
 asmlinkage void do_softirq(void)
 {
 	unsigned long flags, old, new;
arch/sh/kernel/irq.c +0 -2
index 9bf19b0..a2a99e4 100644
@@ -200,8 +200,6 @@ void irq_ctx_exit(int cpu)
 	hardirq_ctx[cpu] = NULL;
 }
 
-extern asmlinkage void __do_softirq(void);
-
 asmlinkage void do_softirq(void)
 {
 	unsigned long flags;
arch/x86/kernel/irq_32.c +0 -2
index cef054b..2af12b3 100644
@@ -190,8 +190,6 @@ void irq_ctx_exit(int cpu)
 	hardirq_ctx[cpu] = NULL;
 }
 
-extern asmlinkage void __do_softirq(void);
-
 asmlinkage void do_softirq(void)
 {
 	unsigned long flags;
include/asm-powerpc/irq.h +0 -2
index b5c0312..5089deb 100644
@@ -619,8 +619,6 @@ struct pt_regs;
 
 #define __ARCH_HAS_DO_SOFTIRQ
 
-extern void __do_softirq(void);
-
 #ifdef CONFIG_IRQSTACKS
 /*
  * Per-cpu stacks for handling hard and soft interrupts.
include/linux/interrupt.h +1 -0
index f8ab4ce..8ccc912 100644
@@ -270,6 +270,7 @@ struct softirq_action
 };
 
 asmlinkage void do_softirq(void);
+asmlinkage void __do_softirq(void);
 extern void open_softirq(int nr, void (*action)(struct softirq_action*), void *data);
 extern void softirq_init(void);
 #define __raise_softirq_irqoff(nr) do { or_softirq_pending(1UL << (nr)); } while (0)