aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/irq_stack.h
diff options
context:
space:
mode:
authorGravatar Thomas Gleixner <tglx@linutronix.de> 2021-02-10 00:40:54 +0100
committerGravatar Thomas Gleixner <tglx@linutronix.de> 2021-02-10 23:34:17 +0100
commit72f40a2823d6e16229ab58b898c6f22044e5222f (patch)
tree5f1967e5f6621f4317c57aff4b58aca16b8ba670 /arch/x86/include/asm/irq_stack.h
parentsoftirq: Move do_softirq_own_stack() to generic asm header (diff)
downloadlinux-72f40a2823d6e16229ab58b898c6f22044e5222f.tar.gz
linux-72f40a2823d6e16229ab58b898c6f22044e5222f.tar.bz2
linux-72f40a2823d6e16229ab58b898c6f22044e5222f.zip
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/irq_stack.h')
-rw-r--r--arch/x86/include/asm/irq_stack.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/include/asm/irq_stack.h b/arch/x86/include/asm/irq_stack.h
index 1b82f9230709..9b2a0ff76c73 100644
--- a/arch/x86/include/asm/irq_stack.h
+++ b/arch/x86/include/asm/irq_stack.h
@@ -194,7 +194,7 @@
* interrupts are pending to be processed. The interrupt stack cannot be in
* use here.
*/
-#define run_softirq_on_irqstack() \
+#define do_softirq_own_stack() \
{ \
__this_cpu_write(hardirq_stack_inuse, true); \
call_on_irqstack(__do_softirq, ASM_CALL_SOFTIRQ); \
@@ -202,7 +202,6 @@
}
#else /* CONFIG_X86_64 */
-
/* System vector handlers always run on the stack they interrupted. */
#define run_sysvec_on_irqstack_cond(func, regs) \
{ \