diff options
Diffstat (limited to 'arch/powerpc/kernel/hw_breakpoint.c')
| -rw-r--r-- | arch/powerpc/kernel/hw_breakpoint.c | 9 | 
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/hw_breakpoint.c b/arch/powerpc/kernel/hw_breakpoint.c index f0b47d1a6b0..0bb5918faaa 100644 --- a/arch/powerpc/kernel/hw_breakpoint.c +++ b/arch/powerpc/kernel/hw_breakpoint.c @@ -28,7 +28,6 @@  #include <linux/percpu.h>  #include <linux/kernel.h>  #include <linux/sched.h> -#include <linux/init.h>  #include <linux/smp.h>  #include <asm/hw_breakpoint.h> @@ -73,7 +72,7 @@ int arch_install_hw_breakpoint(struct perf_event *bp)  	 * If so, DABR will be populated in single_step_dabr_instruction().  	 */  	if (current->thread.last_hit_ubp != bp) -		set_breakpoint(info); +		__set_breakpoint(info);  	return 0;  } @@ -199,7 +198,7 @@ void thread_change_pc(struct task_struct *tsk, struct pt_regs *regs)  	info = counter_arch_bp(tsk->thread.last_hit_ubp);  	regs->msr &= ~MSR_SE; -	set_breakpoint(info); +	__set_breakpoint(info);  	tsk->thread.last_hit_ubp = NULL;  } @@ -285,7 +284,7 @@ int __kprobes hw_breakpoint_handler(struct die_args *args)  	if (!(info->type & HW_BRK_TYPE_EXTRANEOUS_IRQ))  		perf_bp_event(bp, regs); -	set_breakpoint(info); +	__set_breakpoint(info);  out:  	rcu_read_unlock();  	return rc; @@ -317,7 +316,7 @@ int __kprobes single_step_dabr_instruction(struct die_args *args)  	if (!(info->type & HW_BRK_TYPE_EXTRANEOUS_IRQ))  		perf_bp_event(bp, regs); -	set_breakpoint(info); +	__set_breakpoint(info);  	current->thread.last_hit_ubp = NULL;  	/*  | 
