|
@@ -225,11 +225,14 @@ static inline int hrtimer_is_hres_active(struct hrtimer *timer)
|
|
|
* idea of the (in)accuracy of timers. Timer values are rounded up to
|
|
|
* this resolution values.
|
|
|
*/
|
|
|
-# define KTIME_HIGH_RES (ktime_t) { .tv64 = 1 }
|
|
|
+# define HIGH_RES_NSEC 1
|
|
|
+# define KTIME_HIGH_RES (ktime_t) { .tv64 = HIGH_RES_NSEC }
|
|
|
+# define MONOTONIC_RES_NSEC HIGH_RES_NSEC
|
|
|
# define KTIME_MONOTONIC_RES KTIME_HIGH_RES
|
|
|
|
|
|
#else
|
|
|
|
|
|
+# define MONOTONIC_RES_NSEC LOW_RES_NSEC
|
|
|
# define KTIME_MONOTONIC_RES KTIME_LOW_RES
|
|
|
|
|
|
/*
|