diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2021-02-10 02:40:53 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-02-11 01:34:16 +0300 |
commit | db1cc7aede37eb9235759131ddfefd9c0ea5136f (patch) | |
tree | 1d110d199d4f21c7ac3a0beba952bf8beaa74639 /arch/sh | |
parent | cd1a41ceba8a4caef4d18a3a14d6d0f8c656efe4 (diff) | |
download | linux-db1cc7aede37eb9235759131ddfefd9c0ea5136f.tar.xz |
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 'arch/sh')
-rw-r--r-- | arch/sh/kernel/irq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/irq.c b/arch/sh/kernel/irq.c index ab5f790b0cd2..ef0f0827cf57 100644 --- a/arch/sh/kernel/irq.c +++ b/arch/sh/kernel/irq.c @@ -20,6 +20,7 @@ #include <linux/uaccess.h> #include <asm/thread_info.h> #include <cpu/mmu_context.h> +#include <asm/softirq_stack.h> atomic_t irq_err_count; |