aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/time.c')
-rw-r--r--kernel/time.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/time.c b/kernel/time.c
index d9725bdcd045..09d3c45c4da7 100644
--- a/kernel/time.c
+++ b/kernel/time.c
@@ -9,9 +9,9 @@
9 */ 9 */
10/* 10/*
11 * Modification history kernel/time.c 11 * Modification history kernel/time.c
12 * 12 *
13 * 1993-09-02 Philip Gladstone 13 * 1993-09-02 Philip Gladstone
14 * Created file with time related functions from sched.c and adjtimex() 14 * Created file with time related functions from sched.c and adjtimex()
15 * 1993-10-08 Torsten Duwe 15 * 1993-10-08 Torsten Duwe
16 * adjtime interface update and CMOS clock write code 16 * adjtime interface update and CMOS clock write code
17 * 1995-08-13 Torsten Duwe 17 * 1995-08-13 Torsten Duwe
@@ -39,7 +39,7 @@
39#include <asm/uaccess.h> 39#include <asm/uaccess.h>
40#include <asm/unistd.h> 40#include <asm/unistd.h>
41 41
42/* 42/*
43 * The timezone where the local system is located. Used as a default by some 43 * The timezone where the local system is located. Used as a default by some
44 * programs who obtain this value by using gettimeofday. 44 * programs who obtain this value by using gettimeofday.
45 */ 45 */
@@ -72,7 +72,7 @@ asmlinkage long sys_time(time_t __user * tloc)
72 * why not move it into the appropriate arch directory (for those 72 * why not move it into the appropriate arch directory (for those
73 * architectures that need it). 73 * architectures that need it).
74 */ 74 */
75 75
76asmlinkage long sys_stime(time_t __user *tptr) 76asmlinkage long sys_stime(time_t __user *tptr)
77{ 77{
78 struct timespec tv; 78 struct timespec tv;
@@ -111,10 +111,10 @@ asmlinkage long sys_gettimeofday(struct timeval __user *tv, struct timezone __us
111/* 111/*
112 * Adjust the time obtained from the CMOS to be UTC time instead of 112 * Adjust the time obtained from the CMOS to be UTC time instead of
113 * local time. 113 * local time.
114 * 114 *
115 * This is ugly, but preferable to the alternatives. Otherwise we 115 * This is ugly, but preferable to the alternatives. Otherwise we
116 * would either need to write a program to do it in /etc/rc (and risk 116 * would either need to write a program to do it in /etc/rc (and risk
117 * confusion if the program gets run more than once; it would also be 117 * confusion if the program gets run more than once; it would also be
118 * hard to make the program warp the clock precisely n hours) or 118 * hard to make the program warp the clock precisely n hours) or
119 * compile in the timezone information into the kernel. Bad, bad.... 119 * compile in the timezone information into the kernel. Bad, bad....
120 * 120 *