projects/linux·commit 0f44fbd2

alpha: fix compile problem in arch/alpha/kernel/signal.c

0f44fbd2 · Linus Torvalds <[email protected]> · 2010-09-28 13:26:57 -07:00

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 <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
0f44fbd297e1cda5d9ecc9f5321a86fe647c7d4a
Parents
7268e3c4

Changes

1 files changed · +2 −2

FileStatusAddDelContent
arch/alpha/kernel/signal.cmodified+2−2View file

arch/alpha/kernel/signal.c

View file
diff --git a/arch/alpha/kernel/signal.c b/arch/alpha/kernel/signal.c
index 779780a..d290845 100644
--- a/arch/alpha/kernel/signal.c
+++ b/arch/alpha/kernel/signal.c
@@ -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;
}