|
@@ -811,7 +811,7 @@ struct task_struct *__switch_to(struct task_struct *prev,
|
|
* schedule DABR
|
|
* schedule DABR
|
|
*/
|
|
*/
|
|
#ifndef CONFIG_HAVE_HW_BREAKPOINT
|
|
#ifndef CONFIG_HAVE_HW_BREAKPOINT
|
|
- if (unlikely(hw_brk_match(&__get_cpu_var(current_brk), &new->thread.hw_brk)))
|
|
|
|
|
|
+ if (unlikely(!hw_brk_match(&__get_cpu_var(current_brk), &new->thread.hw_brk)))
|
|
set_breakpoint(&new->thread.hw_brk);
|
|
set_breakpoint(&new->thread.hw_brk);
|
|
#endif /* CONFIG_HAVE_HW_BREAKPOINT */
|
|
#endif /* CONFIG_HAVE_HW_BREAKPOINT */
|
|
#endif
|
|
#endif
|