Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f44fbd2 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

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



Tssk.  Apparently Al hadn't checked commit c52c2ddc ("alpha: switch
osf_sigprocmask() to use of sigprocmask()") at all. It doesn't compile.

Fixed as per suggestions from Michael Cree.

Reported-by: default avatarMichael Cree <mcree@orcon.net.nz>
Cc: Al Viro <viro@ftp.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7268e3c4
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -49,10 +49,10 @@ SYSCALL_DEFINE2(osf_sigprocmask, int, how, unsigned long, newmask)
	unsigned long res;
	unsigned long res;


	siginitset(&mask, newmask & ~_BLOCKABLE);
	siginitset(&mask, newmask & ~_BLOCKABLE);
	res = siprocmask(how, &mask, &oldmask);
	res = sigprocmask(how, &mask, &oldmask);
	if (!res) {
	if (!res) {
		force_successful_syscall_return();
		force_successful_syscall_return();
		res = oldmask->sig[0];
		res = oldmask.sig[0];
	}
	}
	return res;
	return res;
}
}