aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/include/asm/hardirq.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-02-10 00:40:52 +0100
committerThomas Gleixner <tglx@linutronix.de>2021-02-10 23:34:16 +0100
commitcd1a41ceba8a4caef4d18a3a14d6d0f8c656efe4 (patch)
tree9c1f88d3d331cc2cd4d6db1cd047aca58f04a8b2 /arch/parisc/include/asm/hardirq.h
parentx86: Select CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK (diff)
downloadlinux-dev-cd1a41ceba8a4caef4d18a3a14d6d0f8c656efe4.tar.xz
linux-dev-cd1a41ceba8a4caef4d18a3a14d6d0f8c656efe4.zip
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
Diffstat (limited to 'arch/parisc/include/asm/hardirq.h')
-rw-r--r--arch/parisc/include/asm/hardirq.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/parisc/include/asm/hardirq.h b/arch/parisc/include/asm/hardirq.h
index fad29aa6f45f..1e4fbd0fd944 100644
--- a/arch/parisc/include/asm/hardirq.h
+++ b/arch/parisc/include/asm/hardirq.h
@@ -12,10 +12,6 @@
#include <linux/threads.h>
#include <linux/irq.h>
-#ifdef CONFIG_IRQSTACKS
-#define __ARCH_HAS_DO_SOFTIRQ
-#endif
-
typedef struct {
unsigned int __softirq_pending;
unsigned int kernel_stack_usage;