--- zzzz-none-000/linux-2.6.32.60/include/linux/bug.h 2012-10-07 21:41:24.000000000 +0000 +++ ur8-7270-606/linux-2.6.32.60/include/linux/bug.h 2010-07-16 10:24:07.000000000 +0000 @@ -28,8 +28,8 @@ #else /* !CONFIG_GENERIC_BUG */ -static inline enum bug_trap_type report_bug(unsigned long bug_addr, - struct pt_regs *regs) +static inline enum bug_trap_type report_bug(unsigned long bug_addr __attribute__ ((unused)), + struct pt_regs *regs __attribute__ ((unused))) { return BUG_TRAP_TYPE_BUG; }