aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-06-04 01:15:55 -0400
committerPaul Mackerras <paulus@samba.org>2007-06-14 08:29:58 -0400
commit0edc4ffd0e50d1ab0f387d37457210bc8bf8f8da (patch)
treeaefc259560cbb44d7a054e2b580ee206a9b8e759 /arch/powerpc/kernel
parenta3f61dc0a5335334958ec3b97d0b1946b4ae5375 (diff)
[POWERPC] Remove #ifdef around set_dabr in signal code
set_dabr() and thread.dabr exist on 32 bits as well nowadays (they actually may do something even, depending on what CPU you have). So this removes the ifdef. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/signal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/signal.c b/arch/powerpc/kernel/signal.c
index dee275014e00..88d8977731ed 100644
--- a/arch/powerpc/kernel/signal.c
+++ b/arch/powerpc/kernel/signal.c
@@ -146,7 +146,6 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs)
146 return 0; /* no signals delivered */ 146 return 0; /* no signals delivered */
147 } 147 }
148 148
149#ifdef CONFIG_PPC64
150 /* 149 /*
151 * Reenable the DABR before delivering the signal to 150 * Reenable the DABR before delivering the signal to
152 * user space. The DABR will have been cleared if it 151 * user space. The DABR will have been cleared if it
@@ -154,7 +153,6 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs)
154 */ 153 */
155 if (current->thread.dabr) 154 if (current->thread.dabr)
156 set_dabr(current->thread.dabr); 155 set_dabr(current->thread.dabr);
157#endif
158 156
159 if (is32) { 157 if (is32) {
160 if (ka.sa.sa_flags & SA_SIGINFO) 158 if (ka.sa.sa_flags & SA_SIGINFO)