aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/Kbuild
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-02-10 00:40:53 +0100
committerThomas Gleixner <tglx@linutronix.de>2021-02-10 23:34:16 +0100
commitdb1cc7aede37eb9235759131ddfefd9c0ea5136f (patch)
tree1d110d199d4f21c7ac3a0beba952bf8beaa74639 /include/asm-generic/Kbuild
parentsoftirq: Move __ARCH_HAS_DO_SOFTIRQ to Kconfig (diff)
downloadlinux-dev-db1cc7aede37eb9235759131ddfefd9c0ea5136f.tar.xz
linux-dev-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 'include/asm-generic/Kbuild')
-rw-r--r--include/asm-generic/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-generic/Kbuild b/include/asm-generic/Kbuild
index 267f6dfb8960..bd684188e2dc 100644
--- a/include/asm-generic/Kbuild
+++ b/include/asm-generic/Kbuild
@@ -51,6 +51,7 @@ mandatory-y += sections.h
mandatory-y += serial.h
mandatory-y += shmparam.h
mandatory-y += simd.h
+mandatory-y += softirq_stack.h
mandatory-y += switch_to.h
mandatory-y += timex.h
mandatory-y += tlbflush.h