patch-1.3.65 linux/kernel/time.c

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

diff -u --recursive --new-file v1.3.64/linux/kernel/time.c linux/kernel/time.c
@@ -34,6 +34,14 @@
  */
 struct timezone sys_tz = { 0, 0};
 
+#ifndef __alpha__
+
+/*
+ * sys_time() can be implemented in user-level using
+ * sys_gettimeofday().  Is this for backwards compatibility?  If so,
+ * why not move it into the appropriate arch directory (for those
+ * architectures that need it).
+ */
 asmlinkage int sys_time(int * tloc)
 {
 	int i;
@@ -48,6 +56,12 @@
 	return i;
 }
 
+/*
+ * sys_stime() can be implemented in user-level using
+ * sys_settimeofday().  Is this for backwards compatibility?  If so,
+ * why not move it into the appropriate arch directory (for those
+ * architectures that need it).
+ */
 asmlinkage int sys_stime(int * tptr)
 {
 	int error, value;
@@ -67,6 +81,8 @@
 	sti();
 	return 0;
 }
+
+#endif
 
 asmlinkage int sys_gettimeofday(struct timeval *tv, struct timezone *tz)
 {

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