Skip to content

Commit

Permalink
alpha: fix compile problem in arch/alpha/kernel/signal.c
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
torvalds committed Sep 28, 2010
1 parent 7268e3c commit 0f44fbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/alpha/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0f44fbd

Please sign in to comment.