proper __do_softirq() prototype
PATCH 1/1 proper __do_softirq() prototype
This patch adds a proper prototype for __do_softirq() in include/linux/interrupt.h
Signed-off-by Adrian Bunk <[email protected]>
---
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
@@ -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
@@ -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
@@ -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
@@ -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)
Quoted 2 lines · Adrian Bunk
This patch adds a proper prototype for
__do_softirq()ininclude/linux/interrupt.h
Acked-by Ingo Molnar <[email protected]>
Ingo