Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b000659b1c07f91f0c73bf94bb8922fa740c0ef0 Commit: b000659b1c07f91f0c73bf94bb8922fa740c0ef0 Parent: 0dcb957db5eb658d636097a9283dabdbf59de283 Author: Paul Mundt <[EMAIL PROTECTED]> AuthorDate: Fri Nov 23 14:02:20 2007 +0900 Committer: Paul Mundt <[EMAIL PROTECTED]> CommitDate: Mon Jan 28 13:18:56 2008 +0900
sh: Fix up bug trap handler build for sh32. Signed-off-by: Paul Mundt <[EMAIL PROTECTED]> --- include/asm-sh/system.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/include/asm-sh/system.h b/include/asm-sh/system.h index 6b02dfd..8b01fc4 100644 --- a/include/asm-sh/system.h +++ b/include/asm-sh/system.h @@ -194,7 +194,8 @@ asmlinkage void name##_trap_handler(unsigned long r4, unsigned long r5, \ #define TRAP_HANDLER_DECL \ struct pt_regs *regs = RELOC_HIDE(&__regs, 0); \ - unsigned int vec = regs->tra; + unsigned int vec = regs->tra; \ + (void)vec; #else #define BUILD_TRAP_HANDLER(name) \ asmlinkage void name##_trap_handler(unsigned int vec, struct pt_regs *regs) - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html