patch-1.3.65 linux/kernel/signal.c

Next file: linux/kernel/sys.c
Previous file: linux/kernel/sched.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.64/linux/kernel/signal.c linux/kernel/signal.c
@@ -19,6 +19,13 @@
 
 #define _BLOCKABLE (~(_S(SIGKILL) | _S(SIGSTOP)))
 
+#ifndef __alpha__
+
+/*
+ * This call isn't used by all ports, in particular, the Alpha
+ * uses osf_sigprocmask instead.  Maybe it should be moved into
+ * arch-dependent dir?
+ */
 asmlinkage int sys_sigprocmask(int how, sigset_t *set, sigset_t *oset)
 {
 	sigset_t new_set, old_set = current->blocked;
@@ -52,6 +59,9 @@
 	return 0;
 }
 
+/*
+ * For backwards compatibility?  Functionality superseded by sigprocmask.
+ */
 asmlinkage int sys_sgetmask(void)
 {
 	return current->blocked;
@@ -65,6 +75,8 @@
 	return old;
 }
 
+#endif
+
 asmlinkage int sys_sigpending(sigset_t *set)
 {
 	int error;
@@ -109,6 +121,10 @@
 	}	
 }
 
+#ifndef __alpha__
+/*
+ * For backwards compatibility?  Functionality superseded by sigaction.
+ */
 asmlinkage unsigned long sys_signal(int signum, __sighandler_t handler)
 {
 	int err;
@@ -131,6 +147,7 @@
 	check_pending(signum);
 	return (unsigned long) handler;
 }
+#endif
 
 asmlinkage int sys_sigaction(int signum, const struct sigaction * action,
 	struct sigaction * oldaction)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this