diff options
Diffstat (limited to 'arch/powerpc/kernel/process.c')
-rw-r--r-- | arch/powerpc/kernel/process.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index 2ae1b99166c6..f895a5062287 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c | |||
@@ -496,14 +496,14 @@ static inline int set_dawr(struct arch_hw_breakpoint *brk) | |||
496 | return 0; | 496 | return 0; |
497 | } | 497 | } |
498 | 498 | ||
499 | int set_breakpoint(struct arch_hw_breakpoint *brk) | 499 | void set_breakpoint(struct arch_hw_breakpoint *brk) |
500 | { | 500 | { |
501 | __get_cpu_var(current_brk) = *brk; | 501 | __get_cpu_var(current_brk) = *brk; |
502 | 502 | ||
503 | if (cpu_has_feature(CPU_FTR_DAWR)) | 503 | if (cpu_has_feature(CPU_FTR_DAWR)) |
504 | return set_dawr(brk); | 504 | set_dawr(brk); |
505 | 505 | else | |
506 | return set_dabr(brk); | 506 | set_dabr(brk); |
507 | } | 507 | } |
508 | 508 | ||
509 | #ifdef CONFIG_PPC64 | 509 | #ifdef CONFIG_PPC64 |