aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorDaniel Walker <dwalker@mvista.com>2007-10-18 06:06:03 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-18 17:37:24 -0400
commit6fa6c3b1d1780450a2f051937b3c6258eb1a8d5f (patch)
treeddd9b900eba0c8eb3211415f01c8108eb0f941c7 /kernel
parentb8cc55493557f2259ac56ba0ac7f6804804f79a5 (diff)
whitespace fixes: time syscalls
Signed-off-by: Daniel Walker <dwalker@mvista.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-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 *