To avoid include recursion hell move the do_softirq_own_stack() related content into a generic asm header and include it from all places in arch/ which need the prototype. This allows architectures to provide an inline implementation of do_softirq_own_stack() without introducing a lot of #ifdeffery all over the place.
Showing the changes to kernel (1 of 11 files). Show all
Unified · Split
| @@ -26,6 +26,8 @@ · 25 unmodified lines | |||
| 26 | #include <linux/tick.h> | 26 | #include <linux/tick.h> |
| 27 | #include <linux/irq.h> | 27 | #include <linux/irq.h> |
| 28 | 28 | ||
| 29 | #include <asm/softirq_stack.h> | ||
| 30 | |||
| 29 | #define CREATE_TRACE_POINTS | 31 | #define CREATE_TRACE_POINTS |
| 30 | #include <trace/events/irq.h> | 32 | #include <trace/events/irq.h> |
| 31 | 33 | ||