softirq: Move __ARCH_HAS_DO_SOFTIRQ to Kconfig
authorThomas Gleixner <tglx@linutronix.de>
Tue, 9 Feb 2021 23:40:52 +0000 (00:40 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 10 Feb 2021 22:34:16 +0000 (23:34 +0100)
commitcd1a41ceba8a4caef4d18a3a14d6d0f8c656efe4
tree9c1f88d3d331cc2cd4d6db1cd047aca58f04a8b2
parent624db9eabc74597f682c0651047a25b54f7260a1
softirq: Move __ARCH_HAS_DO_SOFTIRQ to Kconfig

To prepare for inlining do_softirq_own_stack() replace
__ARCH_HAS_DO_SOFTIRQ with a Kconfig switch and select it in the affected
architectures.

This allows in the next step to move the function prototype and the inline
stub into a seperate asm-generic header file which is required to avoid
include recursion.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210210002513.181713427@linutronix.de
14 files changed:
arch/Kconfig
arch/parisc/Kconfig
arch/parisc/include/asm/hardirq.h
arch/powerpc/Kconfig
arch/powerpc/include/asm/irq.h
arch/s390/Kconfig
arch/s390/include/asm/hardirq.h
arch/sh/Kconfig
arch/sh/include/asm/irq.h
arch/sparc/Kconfig
arch/sparc/include/asm/irq_64.h
arch/x86/Kconfig
arch/x86/include/asm/irq.h
include/linux/interrupt.h