diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2022-08-25 10:25:05 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-09-05 17:20:55 +0200 |
commit | 8cbb2b50ee2dcb082675237eaaa48fe8479f8aa5 (patch) | |
tree | bf18e7af616ec8a48804efec525ca9501d6c7f96 /arch/parisc | |
parent | Linux 6.0-rc3 (diff) | |
download | linux-8cbb2b50ee2dcb082675237eaaa48fe8479f8aa5.tar.xz linux-8cbb2b50ee2dcb082675237eaaa48fe8479f8aa5.zip |
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>
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/kernel/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/irq.c b/arch/parisc/kernel/irq.c index fbb882cb8dbb..b05055f3ba4b 100644 --- a/arch/parisc/kernel/irq.c +++ b/arch/parisc/kernel/irq.c @@ -480,7 +480,7 @@ static void execute_on_irq_stack(void *func, unsigned long param1) *irq_stack_in_use = 1; } -#ifndef CONFIG_PREEMPT_RT +#ifdef CONFIG_SOFTIRQ_ON_OWN_STACK void do_softirq_own_stack(void) { execute_on_irq_stack(__do_softirq, 0); |