diff options
Diffstat (limited to 'include/linux/interrupt.h')
-rw-r--r-- | include/linux/interrupt.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 5e865b554940..c9e831dc80bc 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h | |||
@@ -19,6 +19,7 @@ | |||
19 | 19 | ||
20 | #include <linux/atomic.h> | 20 | #include <linux/atomic.h> |
21 | #include <asm/ptrace.h> | 21 | #include <asm/ptrace.h> |
22 | #include <asm/irq.h> | ||
22 | 23 | ||
23 | /* | 24 | /* |
24 | * These correspond to the IORESOURCE_IRQ_* defines in | 25 | * These correspond to the IORESOURCE_IRQ_* defines in |
@@ -374,6 +375,16 @@ struct softirq_action | |||
374 | 375 | ||
375 | asmlinkage void do_softirq(void); | 376 | asmlinkage void do_softirq(void); |
376 | asmlinkage void __do_softirq(void); | 377 | asmlinkage void __do_softirq(void); |
378 | |||
379 | #ifdef __ARCH_HAS_DO_SOFTIRQ | ||
380 | void do_softirq_own_stack(void); | ||
381 | #else | ||
382 | static inline void do_softirq_own_stack(void) | ||
383 | { | ||
384 | __do_softirq(); | ||
385 | } | ||
386 | #endif | ||
387 | |||
377 | extern void open_softirq(int nr, void (*action)(struct softirq_action *)); | 388 | extern void open_softirq(int nr, void (*action)(struct softirq_action *)); |
378 | extern void softirq_init(void); | 389 | extern void softirq_init(void); |
379 | extern void __raise_softirq_irqoff(unsigned int nr); | 390 | extern void __raise_softirq_irqoff(unsigned int nr); |