Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=44530c696b3fc2c8a45bdc798af85528e065ed80
Commit:     44530c696b3fc2c8a45bdc798af85528e065ed80
Parent:     1039b9a9d830e906efa770db75db8a3e11c47c1a
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 12:14:54 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Wed May 9 01:35:01 2007 +0000

    sh: Always define TRAPA_BUG_OPCODE.
    
    Previously this was only set when CONFIG_BUG=y. While we rely
    on that for handle_BUG() dispatch, we still want to hand the
    opcode off to the die chain notifier for determining the trap
    value.
    
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
---
 include/asm-sh/bug.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/asm-sh/bug.h b/include/asm-sh/bug.h
index 794c36d..46f925c 100644
--- a/include/asm-sh/bug.h
+++ b/include/asm-sh/bug.h
@@ -1,12 +1,12 @@
 #ifndef __ASM_SH_BUG_H
 #define __ASM_SH_BUG_H
 
+#define TRAPA_BUG_OPCODE       0xc33e  /* trapa #0x3e */
+
 #ifdef CONFIG_BUG
 #define HAVE_ARCH_BUG
 #define HAVE_ARCH_WARN_ON
 
-#define TRAPA_BUG_OPCODE       0xc33e  /* trapa #0x3e */
-
 /**
  * _EMIT_BUG_ENTRY
  * %1 - __FILE__
-
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

Reply via email to