summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/softirq_stack.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-02-10 02:40:54 +0300
committerThomas Gleixner <tglx@linutronix.de>2021-02-11 01:34:17 +0300
commit72f40a2823d6e16229ab58b898c6f22044e5222f (patch)
tree5f1967e5f6621f4317c57aff4b58aca16b8ba670 /arch/x86/include/asm/softirq_stack.h
parentdb1cc7aede37eb9235759131ddfefd9c0ea5136f (diff)
downloadlinux-72f40a2823d6e16229ab58b898c6f22044e5222f.tar.xz
x86/softirq/64: Inline do_softirq_own_stack()
There is no reason to have this as a seperate function for a single caller. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20210210002513.382806685@linutronix.de
Diffstat (limited to 'arch/x86/include/asm/softirq_stack.h')
-rw-r--r--arch/x86/include/asm/softirq_stack.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/x86/include/asm/softirq_stack.h b/arch/x86/include/asm/softirq_stack.h
new file mode 100644
index 000000000000..889d53d6a0e1
--- /dev/null
+++ b/arch/x86/include/asm/softirq_stack.h
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _ASM_X86_SOFTIRQ_STACK_H
+#define _ASM_X86_SOFTIRQ_STACK_H
+
+#ifdef CONFIG_X86_64
+# include <asm/irq_stack.h>
+#else
+# include <asm-generic/softirq_stack.h>
+#endif
+
+#endif