--- zzzz-none-000/linux-2.6.39.4/include/linux/rcupdate.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-arm-6490-729/linux-2.6.39.4/include/linux/rcupdate.h 2021-11-10 13:23:10.000000000 +0000 @@ -159,11 +159,11 @@ extern void init_rcu_head_on_stack(struct rcu_head *head); extern void destroy_rcu_head_on_stack(struct rcu_head *head); #else /* !CONFIG_DEBUG_OBJECTS_RCU_HEAD */ -static inline void init_rcu_head_on_stack(struct rcu_head *head) +static inline void init_rcu_head_on_stack(struct rcu_head *head __attribute__((unused))) { } -static inline void destroy_rcu_head_on_stack(struct rcu_head *head) +static inline void destroy_rcu_head_on_stack(struct rcu_head *head __attribute__((unused))) { } #endif /* #else !CONFIG_DEBUG_OBJECTS_RCU_HEAD */ @@ -788,11 +788,11 @@ debug_object_deactivate(head, &rcuhead_debug_descr); } #else /* !CONFIG_DEBUG_OBJECTS_RCU_HEAD */ -static inline void debug_rcu_head_queue(struct rcu_head *head) +static inline void debug_rcu_head_queue(struct rcu_head *head __attribute__((unused))) { } -static inline void debug_rcu_head_unqueue(struct rcu_head *head) +static inline void debug_rcu_head_unqueue(struct rcu_head *head __attribute__((unused))) { } #endif /* #else !CONFIG_DEBUG_OBJECTS_RCU_HEAD */