summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2020-07-17 17:42:55 +0900
committerIngo Molnar <mingo@kernel.org>2020-08-06 17:52:28 +0200
commit09fc67b500c7f0bb1b5ed774197ac7f2c5285655 (patch)
treef88445c86863c1fd97f0d8ca7b12e9c1d14791a5 /include/linux
parent45fd22da97c6125d8d0d35bd1791e7c0c4175279 (diff)
downloadlinux-stable-09fc67b500c7f0bb1b5ed774197ac7f2c5285655.tar.gz
linux-stable-09fc67b500c7f0bb1b5ed774197ac7f2c5285655.tar.bz2
linux-stable-09fc67b500c7f0bb1b5ed774197ac7f2c5285655.zip
kprobes: Remove show_registers() function prototype
Remove show_registers() function prototype because this function has been renamed by commit: 57da8b960b9a ("x86: Avoid double stack traces with show_regs()") and this commit has removed the caller in kprobes altogether: 80006dbee674 ("kprobes/x86: Remove jprobe implementation") So this doesn't exist anymore - remove the orphan prototype. Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/kprobes.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/kprobes.h b/include/linux/kprobes.h
index 45b8cdc9fad7..9be1bff4f586 100644
--- a/include/linux/kprobes.h
+++ b/include/linux/kprobes.h
@@ -227,7 +227,6 @@ extern int arch_prepare_kprobe(struct kprobe *p);
extern void arch_arm_kprobe(struct kprobe *p);
extern void arch_disarm_kprobe(struct kprobe *p);
extern int arch_init_kprobes(void);
-extern void show_registers(struct pt_regs *regs);
extern void kprobes_inc_nmissed_count(struct kprobe *p);
extern bool arch_within_kprobe_blacklist(unsigned long addr);
extern int arch_populate_kprobe_blacklist(void);