This add a CLOCK_TAI clockid and the needed accessors.
Showing the changes to include/uapi/linux (1 of 4 files). Show all
Unified · Split
| @@ -54,11 +54,9 @@ struct itimerval { · 53 unmodified lines | ||
| 54 | 54 | #define CLOCK_BOOTTIME 7 |
| 55 | 55 | #define CLOCK_REALTIME_ALARM 8 |
| 56 | 56 | #define CLOCK_BOOTTIME_ALARM 9 |
| 57 | +#define CLOCK_SGI_CYCLE 10 /* Hardware specific */ | |
| 58 | +#define CLOCK_TAI 11 | |
| 57 | 59 | |
| 58 | −/* | |
| 59 | − * The IDs of various hardware clocks: | |
| 60 | − */ | |
| 61 | −#define CLOCK_SGI_CYCLE 10 | |
| 62 | 60 | #define MAX_CLOCKS 16 |
| 63 | 61 | #define CLOCKS_MASK (CLOCK_REALTIME | CLOCK_MONOTONIC) |
| 64 | 62 | #define CLOCKS_MONO CLOCK_MONOTONIC |