Skip to content

Commit 0f44fbd

Browse files
committed
alpha: fix compile problem in arch/alpha/kernel/signal.c
Tssk. Apparently Al hadn't checked commit c52c2dd ("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>
1 parent 7268e3c commit 0f44fbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/alpha/kernel/signal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ SYSCALL_DEFINE2(osf_sigprocmask, int, how, unsigned long, newmask)
4949
unsigned long res;
5050

5151
siginitset(&mask, newmask & ~_BLOCKABLE);
52-
res = siprocmask(how, &mask, &oldmask);
52+
res = sigprocmask(how, &mask, &oldmask);
5353
if (!res) {
5454
force_successful_syscall_return();
55-
res = oldmask->sig[0];
55+
res = oldmask.sig[0];
5656
}
5757
return res;
5858
}

0 commit comments

Comments
 (0)