1 /* SPDX-License-Identifier: GPL-2.0 */
3 * trampoline entry and return code for kretprobes.
6 #include <linux/linkage.h>
7 #include <asm/asm-bug.h>
8 #include <asm/assembler.h>
12 SYM_CODE_START(__kretprobe_trampoline)
14 * Trigger a breakpoint exception. The PC will be adjusted by
15 * kretprobe_breakpoint_handler(), and no subsequent instructions will
16 * be executed from the trampoline.
18 brk #KRETPROBES_BRK_IMM
20 SYM_CODE_END(__kretprobe_trampoline)