--- zzzz-none-000/linux-2.6.39.4/include/linux/debug_locks.h 2011-08-03 19:43:28.000000000 +0000 +++ puma6-atom-6490-729/linux-2.6.39.4/include/linux/debug_locks.h 2021-11-10 13:38:17.000000000 +0000 @@ -57,17 +57,17 @@ { } -static inline void debug_show_held_locks(struct task_struct *task) +static inline void debug_show_held_locks(struct task_struct *task __attribute__((unused))) { } static inline void -debug_check_no_locks_freed(const void *from, unsigned long len) +debug_check_no_locks_freed(const void *from __attribute__((unused)), unsigned long len __attribute__((unused))) { } static inline void -debug_check_no_locks_held(struct task_struct *task) +debug_check_no_locks_held(struct task_struct *task __attribute__((unused))) { } #endif