Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0edc4ffd0e50d1ab0f387d37457210bc8bf8f8da
Commit:     0edc4ffd0e50d1ab0f387d37457210bc8bf8f8da
Parent:     a3f61dc0a5335334958ec3b97d0b1946b4ae5375
Author:     Benjamin Herrenschmidt <[EMAIL PROTECTED]>
AuthorDate: Mon Jun 4 15:15:55 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Thu Jun 14 22:29:58 2007 +1000

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/kernel/signal.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/kernel/signal.c b/arch/powerpc/kernel/signal.c
index dee2750..88d8977 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)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to