summaryrefslogtreecommitdiff
path: root/include/linux/entry-common.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2025-10-27 09:45:05 +0100
committerIngo Molnar <mingo@kernel.org>2025-11-04 08:33:27 +0100
commiteaa9088d568c84afd72fa32dbe01833aef861d0d (patch)
treeda527c2c77813f936a790f138d771d713be1880f /include/linux/entry-common.h
parentc1cbad8f99b5c73c6af6e96acbfa64eaaaeb085f (diff)
rseq: Use static branch for syscall exit debug when GENERIC_IRQ_ENTRY=y
Make the syscall exit debug mechanism available via the static branch on architectures which utilize the generic entry code. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Link: https://patch.msgid.link/20251027084307.333440475@linutronix.de
Diffstat (limited to 'include/linux/entry-common.h')
-rw-r--r--include/linux/entry-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/entry-common.h b/include/linux/entry-common.h
index 75b194c34e18..d967184ae08f 100644
--- a/include/linux/entry-common.h
+++ b/include/linux/entry-common.h
@@ -146,7 +146,7 @@ static __always_inline void syscall_exit_to_user_mode_work(struct pt_regs *regs)
local_irq_enable();
}
- rseq_syscall(regs);
+ rseq_debug_syscall_return(regs);
/*
* Do one-time syscall specific work. If these work items are