aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/time.h')
-rw-r--r--include/linux/time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/time.h b/include/linux/time.h
index 0cd696cee998..88d3b812841e 100644
--- a/include/linux/time.h
+++ b/include/linux/time.h
@@ -77,6 +77,8 @@ extern struct timespec xtime;
77extern struct timespec wall_to_monotonic; 77extern struct timespec wall_to_monotonic;
78extern seqlock_t xtime_lock; 78extern seqlock_t xtime_lock;
79 79
80void timekeeping_init(void);
81
80static inline unsigned long get_seconds(void) 82static inline unsigned long get_seconds(void)
81{ 83{
82 return xtime.tv_sec; 84 return xtime.tv_sec;