diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-07-25 21:22:02 +0200 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-07-25 21:22:02 +0200 |
commit | 0b21bb49187a863e3fc3c4f3356baf03578a9d1a (patch) | |
tree | 0fef18d223cb66ee539905228e4ac0dd58a3363f /arch/powerpc/kernel/signal.c | |
parent | Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/po... (diff) | |
download | linux-0b21bb49187a863e3fc3c4f3356baf03578a9d1a.tar.xz linux-0b21bb49187a863e3fc3c4f3356baf03578a9d1a.zip |
powerpc: clean up the Book-E HW 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>
Diffstat (limited to '')
-rw-r--r-- | arch/powerpc/kernel/signal.c | 2 |
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 } |