--- zzzz-none-000/linux-2.6.32.60/include/linux/debugobjects.h 2012-10-07 21:41:24.000000000 +0000 +++ ur8-7270-606/linux-2.6.32.60/include/linux/debugobjects.h 2010-07-16 10:24:07.000000000 +0000 @@ -64,17 +64,17 @@ extern void debug_objects_mem_init(void); #else static inline void -debug_object_init (void *addr, struct debug_obj_descr *descr) { } +debug_object_init (void *addr __attribute__ ((unused)), struct debug_obj_descr *descr __attribute__ ((unused))) { } static inline void -debug_object_init_on_stack(void *addr, struct debug_obj_descr *descr) { } +debug_object_init_on_stack(void *addr __attribute__ ((unused)), struct debug_obj_descr *descr __attribute__ ((unused))) { } static inline void -debug_object_activate (void *addr, struct debug_obj_descr *descr) { } +debug_object_activate (void *addr __attribute__ ((unused)), struct debug_obj_descr *descr __attribute__ ((unused))) { } static inline void -debug_object_deactivate(void *addr, struct debug_obj_descr *descr) { } +debug_object_deactivate(void *addr __attribute__ ((unused)), struct debug_obj_descr *descr __attribute__ ((unused))) { } static inline void -debug_object_destroy (void *addr, struct debug_obj_descr *descr) { } +debug_object_destroy (void *addr __attribute__ ((unused)), struct debug_obj_descr *descr __attribute__ ((unused))) { } static inline void -debug_object_free (void *addr, struct debug_obj_descr *descr) { } +debug_object_free (void *addr __attribute__ ((unused)), struct debug_obj_descr *descr __attribute__ ((unused))) { } static inline void debug_objects_early_init(void) { } static inline void debug_objects_mem_init(void) { } @@ -84,7 +84,7 @@ extern void debug_check_no_obj_freed(const void *address, unsigned long size); #else static inline void -debug_check_no_obj_freed(const void *address, unsigned long size) { } +debug_check_no_obj_freed(const void *address __attribute__ ((unused)), unsigned long size __attribute__ ((unused))) { } #endif #endif