Commit 0f44fbd297e1cda5d9ecc9f5321a86fe647c7d4a
1 parent
7268e3c4b5
Exists in
master
and in
7 other branches
alpha: fix compile problem in arch/alpha/kernel/signal.c
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>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
arch/alpha/kernel/signal.c
... | ... | @@ -49,10 +49,10 @@ |
49 | 49 | unsigned long res; |
50 | 50 | |
51 | 51 | siginitset(&mask, newmask & ~_BLOCKABLE); |
52 | - res = siprocmask(how, &mask, &oldmask); | |
52 | + res = sigprocmask(how, &mask, &oldmask); | |
53 | 53 | if (!res) { |
54 | 54 | force_successful_syscall_return(); |
55 | - res = oldmask->sig[0]; | |
55 | + res = oldmask.sig[0]; | |
56 | 56 | } |
57 | 57 | return res; |
58 | 58 | } |