diff options
Diffstat (limited to 'arch/s390/kernel/mcount.S')
| -rw-r--r-- | arch/s390/kernel/mcount.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/mcount.S b/arch/s390/kernel/mcount.S index 4567ce20d900..08dcf21cb8df 100644 --- a/arch/s390/kernel/mcount.S +++ b/arch/s390/kernel/mcount.S | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | 7 | ||
| 8 | #include <linux/linkage.h> | 8 | #include <linux/linkage.h> |
| 9 | #include <asm/asm-offsets.h> | 9 | #include <asm/asm-offsets.h> |
| 10 | #include <asm/ftrace.h> | ||
| 10 | 11 | ||
| 11 | .section .kprobes.text, "ax" | 12 | .section .kprobes.text, "ax" |
| 12 | 13 | ||
| @@ -33,6 +34,7 @@ ENTRY(ftrace_caller) | |||
| 33 | la %r2,0(%r14) | 34 | la %r2,0(%r14) |
| 34 | st %r0,__SF_BACKCHAIN(%r15) | 35 | st %r0,__SF_BACKCHAIN(%r15) |
| 35 | la %r3,0(%r3) | 36 | la %r3,0(%r3) |
| 37 | ahi %r2,-MCOUNT_INSN_SIZE | ||
| 36 | l %r14,0b-0b(%r1) | 38 | l %r14,0b-0b(%r1) |
| 37 | l %r14,0(%r14) | 39 | l %r14,0(%r14) |
| 38 | basr %r14,%r14 | 40 | basr %r14,%r14 |
