I'm not near my machine to test but looks good. Thanks, Mikey On 22 Jan 2014 08:56, "Andreas Schwab" <[email protected]> wrote:
> This fixes a logic error that caused a failure to update the hw breakpoint > registers when not using the hw-breakpoint interface. > > Signed-off-by: Andreas Schwab <[email protected]> > --- > arch/powerpc/kernel/process.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c > index 4a96556..7714950 100644 > --- a/arch/powerpc/kernel/process.c > +++ b/arch/powerpc/kernel/process.c > @@ -690,7 +690,7 @@ struct task_struct *__switch_to(struct task_struct > *prev, > * schedule DABR > */ > #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); > #endif /* CONFIG_HAVE_HW_BREAKPOINT */ > #endif > -- > 1.8.5.3 > > > -- > Andreas Schwab, [email protected] > GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 > "And now for something completely different." > >
_______________________________________________ Linuxppc-dev mailing list [email protected] https://lists.ozlabs.org/listinfo/linuxppc-dev
