repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
WIP FPC-III support
[linux/fpc-iii.git]
/
arch
/
csky
/
kernel
/
probes
/
kprobes_trampoline.S
blob
b1fe3af24f03b4fecb0c3b3c44df5e2c77b6ff68
1
/* SPDX-License-Identifier: GPL-2.0+ */
2
3
#include <linux/linkage.h>
4
5
#include <abi/entry.h>
6
7
ENTRY(kretprobe_trampoline)
8
SAVE_REGS_FTRACE
9
10
mov a0, sp /* pt_regs */
11
12
jbsr trampoline_probe_handler
13
14
/* use the result as the return-address */
15
mov lr, a0
16
17
RESTORE_REGS_FTRACE
18
rts
19
ENDPROC(kretprobe_trampoline)