diff options
Diffstat (limited to 'arch/s390/kernel/kprobes.c')
-rw-r--r-- | arch/s390/kernel/kprobes.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/kernel/kprobes.c b/arch/s390/kernel/kprobes.c index 1e4c710dfb92..f516edc1fbe3 100644 --- a/arch/s390/kernel/kprobes.c +++ b/arch/s390/kernel/kprobes.c | |||
@@ -69,7 +69,8 @@ static void copy_instruction(struct kprobe *p) | |||
69 | /* | 69 | /* |
70 | * If kprobes patches the instruction that is morphed by | 70 | * If kprobes patches the instruction that is morphed by |
71 | * ftrace make sure that kprobes always sees the branch | 71 | * ftrace make sure that kprobes always sees the branch |
72 | * "jg .+24" that skips the mcount block | 72 | * "jg .+24" that skips the mcount block or the "brcl 0,0" |
73 | * in case of hotpatch. | ||
73 | */ | 74 | */ |
74 | ftrace_generate_nop_insn((struct ftrace_insn *)p->ainsn.insn); | 75 | ftrace_generate_nop_insn((struct ftrace_insn *)p->ainsn.insn); |
75 | p->ainsn.is_ftrace_insn = 1; | 76 | p->ainsn.is_ftrace_insn = 1; |