Skip to content

Commit

Permalink
proper __do_softirq() prototype
Browse files Browse the repository at this point in the history
Add a proper prototype for __do_softirq() in include/linux/interrupt.h

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
AdrianBunk authored and torvalds committed Apr 29, 2008
1 parent 8d4b690 commit eb0f1c4
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 8 deletions.
2 changes: 0 additions & 2 deletions arch/s390/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions arch/sh/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions arch/x86/kernel/irq_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions include/asm-powerpc/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions include/linux/interrupt.h
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,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)
Expand Down

0 comments on commit eb0f1c4

Please sign in to comment.