Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e1cd93ea44cb55969e122758c8cc2ddfe21b74b3 Commit: e1cd93ea44cb55969e122758c8cc2ddfe21b74b3 Parent: 5a4a5bd127c147aaa16aefef856f4cb28e92cec1 Author: Paul Mundt <[EMAIL PROTECTED]> AuthorDate: Thu Nov 8 18:58:00 2007 +0900 Committer: Paul Mundt <[EMAIL PROTECTED]> CommitDate: Mon Jan 28 13:18:39 2008 +0900
sh: BUGFLAG_WARNING needs GENERIC_BUG. Move the HAVE_ARCH_BUG/HAVE_ARCH_WARN_ON definitions underneath CONFIG_GENERIC_BUG. This is needed for BUGFLAG_WARNING usage. 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 a78d482..afb1c27 100644 --- a/include/asm-sh/bug.h +++ b/include/asm-sh/bug.h @@ -3,7 +3,7 @@ #define TRAPA_BUG_OPCODE 0xc33e /* trapa #0x3e */ -#ifdef CONFIG_BUG +#ifdef CONFIG_GENERIC_BUG #define HAVE_ARCH_BUG #define HAVE_ARCH_WARN_ON @@ -77,7 +77,7 @@ struct pt_regs; /* arch/sh/kernel/traps.c */ void handle_BUG(struct pt_regs *); -#endif /* CONFIG_BUG */ +#endif /* CONFIG_GENERIC_BUG */ #include <asm-generic/bug.h> - 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