diff options
Diffstat (limited to 'kernel/time.c')
-rw-r--r-- | kernel/time.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/kernel/time.c b/kernel/time.c index 2289a8d68314..1afcc78dc3b1 100644 --- a/kernel/time.c +++ b/kernel/time.c @@ -57,11 +57,7 @@ EXPORT_SYMBOL(sys_tz); */ asmlinkage long sys_time(time_t __user * tloc) { - time_t i; - struct timespec tv; - - getnstimeofday(&tv); - i = tv.tv_sec; + time_t i = get_seconds(); if (tloc) { if (put_user(i,tloc)) |