]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
alpha: fix compile problem in arch/alpha/kernel/signal.c
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Sep 2010 20:26:57 +0000 (13:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Sep 2010 20:26:57 +0000 (13:26 -0700)
Tssk.  Apparently Al hadn't checked commit c52c2ddc1dfa ("alpha: switch
osf_sigprocmask() to use of sigprocmask()") at all. It doesn't compile.

Fixed as per suggestions from Michael Cree.

Reported-by: Michael Cree <mcree@orcon.net.nz>
Cc: Al Viro <viro@ftp.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/kernel/signal.c

index 779780a332d36dff463f314129cfa6595084eb75..d290845aef5981f5db242d8abbd2f4d4c96c8fe5 100644 (file)
@@ -49,10 +49,10 @@ SYSCALL_DEFINE2(osf_sigprocmask, int, how, unsigned long, newmask)
        unsigned long res;
 
        siginitset(&mask, newmask & ~_BLOCKABLE);
-       res = siprocmask(how, &mask, &oldmask);
+       res = sigprocmask(how, &mask, &oldmask);
        if (!res) {
                force_successful_syscall_return();
-               res = oldmask->sig[0];
+               res = oldmask.sig[0];
        }
        return res;
 }