--- zzzz-none-000/linux-2.6.39.4/include/linux/hrtimer.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/include/linux/hrtimer.h 2021-11-10 13:23:10.000000000 +0000 @@ -310,7 +310,7 @@ return timer->base->softirq_time; } -static inline int hrtimer_is_hres_active(struct hrtimer *timer) +static inline int hrtimer_is_hres_active(struct hrtimer *timer __attribute__((unused))) { return 0; } @@ -342,7 +342,7 @@ { hrtimer_init(timer, which_clock, mode); } -static inline void destroy_hrtimer_on_stack(struct hrtimer *timer) { } +static inline void destroy_hrtimer_on_stack(struct hrtimer *timer __attribute__((unused))) { } #endif /* Basic timer operations: */