From: Benjamin Herrenschmidt Date: Mon, 4 Jun 2007 05:15:55 +0000 (+1000) Subject: [POWERPC] Remove #ifdef around set_dabr in signal code X-Git-Tag: v2.6.23-rc1~767^2^2~181 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0edc4ffd0e50d1ab0f387d37457210bc8bf8f8da;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/kernel/signal.c b/arch/powerpc/kernel/signal.c index dee275014e0..88d8977731e 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) 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)