[POWERPC] Remove #ifdef around set_dabr in signal code
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 4 Jun 2007 05:15:55 +0000 (15:15 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 14 Jun 2007 12:29:58 +0000 (22:29 +1000)
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>
arch/powerpc/kernel/signal.c

index dee275014e00884c45199621044c075a01ab1546..88d8977731ed6e5dbb73f2adc1549e81a56bb773 100644 (file)
@@ -146,7 +146,6 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs)
                return 0;               /* no signals delivered */
        }
 
-#ifdef CONFIG_PPC64
         /*
         * Reenable the DABR before delivering the signal to
         * user space. The DABR will have been cleared if it
@@ -154,7 +153,6 @@ int do_signal(sigset_t *oldset, struct pt_regs *regs)
         */
        if (current->thread.dabr)
                set_dabr(current->thread.dabr);
-#endif
 
        if (is32) {
                if (ka.sa.sa_flags & SA_SIGINFO)