summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/signal.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-07-25 21:27:33 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2008-07-28 08:30:47 +0200
commit2325f0a0c3d76bb515f3312ab2b16afdbffcc594 (patch)
tree69386c213a02b0900054cdcfcaf4372c3ec31a3e /arch/powerpc/kernel/signal.c
parentpowerpc: Removed duplicated include in stacktrace.c (diff)
downloadlinux-2325f0a0c3d76bb515f3312ab2b16afdbffcc594.tar.xz
linux-2325f0a0c3d76bb515f3312ab2b16afdbffcc594.zip
powerpc/booke: Clean up the hardware watchpoint support
* CONFIG_BOOKE is selected by CONFIG_44x so we dont need both * Fixed a few comments * Go back to only using DBCR0_IDM to determine if we are using debug resources. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/signal.c')
-rw-r--r--arch/powerpc/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/signal.c b/arch/powerpc/kernel/signal.c
index 7aada783ec6a..2b5eaa6c8f33 100644
--- a/arch/powerpc/kernel/signal.c
+++ b/arch/powerpc/kernel/signal.c
@@ -147,7 +147,7 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs)
*/
if (current->thread.dabr) {
set_dabr(current->thread.dabr);
-#if defined(CONFIG_44x) || defined(CONFIG_BOOKE)
+#if defined(CONFIG_BOOKE)
mtspr(SPRN_DBCR0, current->thread.dbcr0);
#endif
}