patch-1.3.65 linux/kernel/sys.c

Next file: linux/kernel/time.c
Previous file: linux/kernel/signal.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.64/linux/kernel/sys.c linux/kernel/sys.c
@@ -121,6 +121,14 @@
 	return max_prio;
 }
 
+#ifndef __alpha__
+
+/*
+ * Why do these exist?  Binary compatibility with some other standard?
+ * If so, maybe they should be moved into the appropriate arch
+ * directory.
+ */
+
 asmlinkage int sys_profil(void)
 {
 	return -ENOSYS;
@@ -151,6 +159,8 @@
 	return -ENOSYS;
 }
 
+#endif
+
 extern void hard_reset_now(void);
 extern asmlinkage sys_kill(int, int);
 
@@ -268,6 +278,14 @@
 	return -ENOSYS;
 }
 
+#ifndef __alpha__
+
+/*
+ * Why do these exist?  Binary compatibility with some other standard?
+ * If so, maybe they should be moved into the appropriate arch
+ * directory.
+ */
+
 asmlinkage int sys_phys(void)
 {
 	return -ENOSYS;
@@ -293,6 +311,8 @@
 	return -ENOSYS;
 }
 
+#endif
+
 /*
  * Unprivileged users may change the real uid to the effective uid
  * or vice versa.  (BSD-style)
@@ -645,6 +665,12 @@
 	return error;
 }
 
+#ifndef __alpha__
+
+/*
+ * Move these to arch dependent dir since they are for
+ * backward compatiblity only?
+ */
 asmlinkage int sys_uname(struct old_utsname * name)
 {
 	int error;
@@ -686,6 +712,8 @@
 	put_user(0,name->machine+__OLD_UTS_LEN);
 	return 0;
 }
+
+#endif
 
 asmlinkage int sys_sethostname(char *name, int len)
 {

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