diff --git a/include/linux/hrtimer.h b/include/linux/hrtimer.h index 470d876c2edafd9d4fa0cffb9f599fbc514c2c90..3f82a7edc03d198409686c5587c1927e58c38dec 100644 --- a/include/linux/hrtimer.h +++ b/include/linux/hrtimer.h @@ -309,7 +309,7 @@ extern unsigned int hrtimer_resolution; # define MONOTONIC_RES_NSEC LOW_RES_NSEC # define KTIME_MONOTONIC_RES KTIME_LOW_RES -#define hrtimer_resolution LOW_RES_NSEC +#define hrtimer_resolution (unsigned int)LOW_RES_NSEC static inline void hrtimer_peek_ahead_timers(void) { }