]> Pileus Git - ~andy/linux/blobdiff - arch/powerpc/include/asm/hw_breakpoint.h
Merge tag 'v3.9-rc3' into v4l_for_linus
[~andy/linux] / arch / powerpc / include / asm / hw_breakpoint.h
index 2c91faf981dbc6f659f1b2c9812acd14f78b4f22..eb0f4ac75c4cea9a39b2ba4391afbfd5ca980caa 100644 (file)
@@ -57,8 +57,6 @@ struct pmu;
 struct perf_sample_data;
 
 #define HW_BREAKPOINT_ALIGN 0x7
-/* Maximum permissible length of any HW Breakpoint */
-#define HW_BREAKPOINT_LEN 0x8
 
 extern int hw_breakpoint_slots(int type);
 extern int arch_bp_generic_fields(int type, int *gen_bp_type);
@@ -81,7 +79,7 @@ static inline void hw_breakpoint_disable(void)
        brk.address = 0;
        brk.type = 0;
        brk.len = 0;
-       set_break(&brk);
+       set_breakpoint(&brk);
 }
 extern void thread_change_pc(struct task_struct *tsk, struct pt_regs *regs);