--- zzzz-none-000/linux-2.6.39.4/include/linux/tracepoint.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/include/linux/tracepoint.h 2021-11-10 13:38:17.000000000 +0000 @@ -84,8 +84,8 @@ struct tracepoint * const *end); #else static inline -void tracepoint_update_probe_range(struct tracepoint * const *begin, - struct tracepoint * const *end) +void tracepoint_update_probe_range(struct tracepoint * const *begin __attribute__((unused)), + struct tracepoint * const *end __attribute__((unused))) { } #endif /* CONFIG_TRACEPOINTS */ @@ -167,7 +167,7 @@ data); \ } \ static inline void \ - check_trace_callback_type_##name(void (*cb)(data_proto)) \ + check_trace_callback_type_##name(void (*cb)(data_proto) __attribute__((unused))) \ { \ } @@ -210,7 +210,7 @@ { \ return -ENOSYS; \ } \ - static inline void check_trace_callback_type_##name(void (*cb)(data_proto)) \ + static inline void check_trace_callback_type_##name(void (*cb)(data_proto) __attribute__((unused))) \ { \ }