diff options
Diffstat (limited to 'arch/x86/kernel/hw_breakpoint.c')
| -rw-r--r-- | arch/x86/kernel/hw_breakpoint.c | 6 | 
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/kernel/hw_breakpoint.c b/arch/x86/kernel/hw_breakpoint.c index f66ff162dce..5f9cf20cdb6 100644 --- a/arch/x86/kernel/hw_breakpoint.c +++ b/arch/x86/kernel/hw_breakpoint.c @@ -32,13 +32,11 @@  #include <linux/irqflags.h>  #include <linux/notifier.h>  #include <linux/kallsyms.h> -#include <linux/kprobes.h>  #include <linux/percpu.h>  #include <linux/kdebug.h>  #include <linux/kernel.h>  #include <linux/module.h>  #include <linux/sched.h> -#include <linux/init.h>  #include <linux/smp.h>  #include <asm/hw_breakpoint.h> @@ -425,7 +423,7 @@ EXPORT_SYMBOL_GPL(hw_breakpoint_restore);   * NOTIFY_STOP returned for all other cases   *   */ -static int __kprobes hw_breakpoint_handler(struct die_args *args) +static int hw_breakpoint_handler(struct die_args *args)  {  	int i, cpu, rc = NOTIFY_STOP;  	struct perf_event *bp; @@ -512,7 +510,7 @@ static int __kprobes hw_breakpoint_handler(struct die_args *args)  /*   * Handle debug exception notifications.   */ -int __kprobes hw_breakpoint_exceptions_notify( +int hw_breakpoint_exceptions_notify(  		struct notifier_block *unused, unsigned long val, void *data)  {  	if (val != DIE_DEBUG)  | 
