.. | .. |
---|
3 | 3 | #define _LINUX_TIME_H |
---|
4 | 4 | |
---|
5 | 5 | # include <linux/cache.h> |
---|
6 | | -# include <linux/seqlock.h> |
---|
7 | 6 | # include <linux/math64.h> |
---|
8 | 7 | # include <linux/time64.h> |
---|
9 | 8 | |
---|
.. | .. |
---|
35 | 34 | extern u32 (*arch_gettimeoffset)(void); |
---|
36 | 35 | #endif |
---|
37 | 36 | |
---|
38 | | -struct itimerval; |
---|
39 | | -extern int do_setitimer(int which, struct itimerval *value, |
---|
40 | | - struct itimerval *ovalue); |
---|
41 | | -extern int do_getitimer(int which, struct itimerval *value); |
---|
| 37 | +#ifdef CONFIG_POSIX_TIMERS |
---|
| 38 | +extern void clear_itimer(void); |
---|
| 39 | +#else |
---|
| 40 | +static inline void clear_itimer(void) {} |
---|
| 41 | +#endif |
---|
42 | 42 | |
---|
43 | 43 | extern long do_utimes(int dfd, const char __user *filename, struct timespec64 *times, int flags); |
---|
44 | 44 | |
---|