--- zzzz-none-000/linux-2.6.28.10/include/linux/debug_locks.h 2009-05-02 18:54:43.000000000 +0000 +++ puma5-6360-529/linux-2.6.28.10/include/linux/debug_locks.h 2009-10-14 11:28:36.000000000 +0000 @@ -50,21 +50,21 @@ { } -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_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