powerpc: Fix hw breakpoints on !HAVE_HW_BREAKPOINT configurations
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 21 Jan 2014 22:24:02 +0000 (23:24 +0100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 29 Jan 2014 05:58:47 +0000 (16:58 +1100)
commit1c430c06d0ce871f36b2af504d45a07356e44800
tree54851264cfb93d012d0f6bba82e3dc5079836347
parent6e677ef6fbe9513051bd753ae670b586e8ea7df1
powerpc: Fix hw breakpoints on !HAVE_HW_BREAKPOINT configurations

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 <schwab@linux-m68k.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/process.c