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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/time.h b/include/linux/time.h
index 205f974b9ebf..4f1c9db57707 100644
--- a/include/linux/time.h
+++ b/include/linux/time.h
@@ -29,6 +29,8 @@ struct timezone {
29 29
30#ifdef __KERNEL__ 30#ifdef __KERNEL__
31 31
32extern struct timezone sys_tz;
33
32/* Parameters used to convert the timespec values: */ 34/* Parameters used to convert the timespec values: */
33#define MSEC_PER_SEC 1000L 35#define MSEC_PER_SEC 1000L
34#define USEC_PER_MSEC 1000L 36#define USEC_PER_MSEC 1000L
@@ -126,6 +128,9 @@ extern int timekeeping_valid_for_hres(void);
126extern void update_wall_time(void); 128extern void update_wall_time(void);
127extern void update_xtime_cache(u64 nsec); 129extern void update_xtime_cache(u64 nsec);
128 130
131struct tms;
132extern void do_sys_times(struct tms *);
133
129/** 134/**
130 * timespec_to_ns - Convert timespec to nanoseconds 135 * timespec_to_ns - Convert timespec to nanoseconds
131 * @ts: pointer to the timespec variable to be converted 136 * @ts: pointer to the timespec variable to be converted