drm/rockchip: vop2: Fix the windows switch between different layers
[drm/drm-misc.git] / arch / csky / kernel / probes / kprobes_trampoline.S
blobba48ad04a847e3a0d52e5830346f6fc1a98bfae3
1 /* SPDX-License-Identifier: GPL-2.0+ */
3 #include <linux/linkage.h>
5 #include <abi/entry.h>
7 ENTRY(__kretprobe_trampoline)
8         SAVE_REGS_FTRACE
10         mov     a0, sp /* pt_regs */
12         jbsr    trampoline_probe_handler
14         /* use the result as the return-address */
15         mov     lr, a0
17         RESTORE_REGS_FTRACE
18         rts
19 ENDPROC(__kretprobe_trampoline)