X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=include%2Flinux%2Ftime.h;h=4f1c9db577079ed3cc688def99e476219b5aa9b0;hb=c465a76af658b443075d6efee1c3131257643020;hp=1b70b3c293e934536a0a8cf5dd64046767de5c28;hpb=1508487e7f16d992ad23cabd3712563ff912f413;p=mirror_ubuntu-eoan-kernel.git diff --git a/include/linux/time.h b/include/linux/time.h index 1b70b3c293e9..4f1c9db57707 100644 --- a/include/linux/time.h +++ b/include/linux/time.h @@ -29,6 +29,8 @@ struct timezone { #ifdef __KERNEL__ +extern struct timezone sys_tz; + /* Parameters used to convert the timespec values: */ #define MSEC_PER_SEC 1000L #define USEC_PER_MSEC 1000L @@ -117,6 +119,7 @@ extern int do_setitimer(int which, struct itimerval *value, extern unsigned int alarm_setitimer(unsigned int seconds); extern int do_getitimer(int which, struct itimerval *value); extern void getnstimeofday(struct timespec *tv); +extern void getrawmonotonic(struct timespec *ts); extern void getboottime(struct timespec *ts); extern void monotonic_to_bootbased(struct timespec *ts); @@ -217,6 +220,7 @@ struct itimerval { #define CLOCK_MONOTONIC 1 #define CLOCK_PROCESS_CPUTIME_ID 2 #define CLOCK_THREAD_CPUTIME_ID 3 +#define CLOCK_MONOTONIC_RAW 4 /* * The IDs of various hardware clocks: