diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-02-10 00:40:53 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-02-10 23:34:16 +0100 |
commit | db1cc7aede37eb9235759131ddfefd9c0ea5136f (patch) | |
tree | 1d110d199d4f21c7ac3a0beba952bf8beaa74639 /kernel/softirq.c | |
parent | softirq: Move __ARCH_HAS_DO_SOFTIRQ to Kconfig (diff) | |
download | linux-db1cc7aede37eb9235759131ddfefd9c0ea5136f.tar.xz linux-db1cc7aede37eb9235759131ddfefd9c0ea5136f.zip |
softirq: Move do_softirq_own_stack() to generic asm header
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.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210210002513.289960691@linutronix.de
Diffstat (limited to 'kernel/softirq.c')
-rw-r--r-- | kernel/softirq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c index 9d71046ea247..9908ec4a9bfe 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -26,6 +26,8 @@ #include <linux/tick.h> #include <linux/irq.h> +#include <asm/softirq_stack.h> + #define CREATE_TRACE_POINTS #include <trace/events/irq.h> |