Subject: [PATCH 20/21] powerpc: remove #ifdef around set_dabr in signal code

From: Benjamin Herrenschmidt <[email-masked]>
Date: Mon, 04 Jun 2007 15:15:55 +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 remove the ifdef

Signed-off-by: Benjamin Herrenschmidt <[email-masked]>
---

 arch/powerpc/kernel/signal.c |    2 --
 1 file changed, 2 deletions(-)

Index: linux-cell/arch/powerpc/kernel/signal.c
===================================================================
--- linux-cell.orig/arch/powerpc/kernel/signal.c	2007-06-04 13:08:24.000000000 +1000
+++ linux-cell/arch/powerpc/kernel/signal.c	2007-06-04 13:08:30.000000000 +1000
@@ -145,7 +145,6 @@ int do_signal(sigset_t *oldset, struct p
 		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
@@ -153,7 +152,6 @@ int do_signal(sigset_t *oldset, struct p
 	 */
 	if (current->thread.dabr)
 		set_dabr(current->thread.dabr);
-#endif
 
 	if (is32) {
         	if (ka.sa.sa_flags & SA_SIGINFO)