<p dir="ltr">I'm not near my machine to test but looks good.</p>
<p dir="ltr">Thanks,<br>
Mikey</p>
<div class="gmail_quote">On 22 Jan 2014 08:56, "Andreas Schwab" <<a href="mailto:schwab@linux-m68k.org">schwab@linux-m68k.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This fixes a logic error that caused a failure to update the hw breakpoint<br>
registers when not using the hw-breakpoint interface.<br>
<br>
Signed-off-by: Andreas Schwab <<a href="mailto:schwab@linux-m68k.org">schwab@linux-m68k.org</a>><br>
---<br>
arch/powerpc/kernel/process.c | 2 +-<br>
1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c<br>
index 4a96556..7714950 100644<br>
--- a/arch/powerpc/kernel/process.c<br>
+++ b/arch/powerpc/kernel/process.c<br>
@@ -690,7 +690,7 @@ struct task_struct *__switch_to(struct task_struct *prev,<br>
* schedule DABR<br>
*/<br>
#ifndef CONFIG_HAVE_HW_BREAKPOINT<br>
- if (unlikely(hw_brk_match(&__get_cpu_var(current_brk), &new->thread.hw_brk)))<br>
+ if (unlikely(!hw_brk_match(&__get_cpu_var(current_brk), &new->thread.hw_brk)))<br>
set_breakpoint(&new->thread.hw_brk);<br>
#endif /* CONFIG_HAVE_HW_BREAKPOINT */<br>
#endif<br>
--<br>
1.8.5.3<br>
<br>
<br>
--<br>
Andreas Schwab, <a href="mailto:schwab@linux-m68k.org">schwab@linux-m68k.org</a><br>
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5<br>
"And now for something completely different."<br>
<br>
</blockquote></div>