diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/time.h b/include/linux/time.h index e6aea5146e5d..71181df8b744 100644 --- a/include/linux/time.h +++ b/include/linux/time.h | |||
@@ -107,7 +107,7 @@ static inline unsigned long get_seconds(void) | |||
107 | struct timespec current_kernel_time(void); | 107 | struct timespec current_kernel_time(void); |
108 | 108 | ||
109 | #define CURRENT_TIME (current_kernel_time()) | 109 | #define CURRENT_TIME (current_kernel_time()) |
110 | #define CURRENT_TIME_SEC ((struct timespec) { xtime.tv_sec, 0 }) | 110 | #define CURRENT_TIME_SEC ((struct timespec) { get_seconds(), 0 }) |
111 | 111 | ||
112 | extern void do_gettimeofday(struct timeval *tv); | 112 | extern void do_gettimeofday(struct timeval *tv); |
113 | extern int do_settimeofday(struct timespec *tv); | 113 | extern int do_settimeofday(struct timespec *tv); |