]> git.baikalelectronics.ru Git - kernel.git/commit
asm-generic: Conditionally enable do_softirq_own_stack() via Kconfig.
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 25 Aug 2022 08:25:05 +0000 (10:25 +0200)
committerArnd Bergmann <arnd@arndb.de>
Mon, 5 Sep 2022 15:20:55 +0000 (17:20 +0200)
commiteca3c79a637bce98d378d00906f86aec775a811c
treebf18e7af616ec8a48804efec525ca9501d6c7f96
parente09e5912637631f640a7238acac671d0c8a03dad
asm-generic: Conditionally enable do_softirq_own_stack() via Kconfig.

Remove the CONFIG_PREEMPT_RT symbol from the ifdef around
do_softirq_own_stack() and move it to Kconfig instead.

Enable softirq stacks based on SOFTIRQ_ON_OWN_STACK which depends on
HAVE_SOFTIRQ_ON_OWN_STACK and its default value is set to !PREEMPT_RT.
This ensures that softirq stacks are not used on PREEMPT_RT and avoids
a 'select' statement on an option which has a 'depends' statement.

Link: https://lore.kernel.org/YvN5E%2FPrHfUhggr7@linutronix.de
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/Kconfig
arch/arm/kernel/irq.c
arch/parisc/kernel/irq.c
arch/powerpc/kernel/irq.c
arch/s390/include/asm/softirq_stack.h
arch/sh/kernel/irq.c
arch/sparc/kernel/irq_64.c
arch/x86/include/asm/irq_stack.h
arch/x86/kernel/irq_32.c
include/asm-generic/softirq_stack.h