From: Paul Mundt Date: Fri, 21 Aug 2009 20:31:45 +0000 (+0900) Subject: sh64: dummy unwinder BUG wrappers. X-Git-Tag: v2.6.33-rc1~63^2~62^2~92^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=74db2479c1fecefd0a190f282f28f00565309807;p=platform%2Fkernel%2Flinux-3.10.git sh64: dummy unwinder BUG wrappers. sh64 does not yet support GENERIC_BUG, but still wants unwinder support. Alias UNWINDER_BUG and UNWINDER_BUG_ON to their BUG counterparts until the conversion to GENERIC_BUG is completed. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/include/asm/bug.h b/arch/sh/include/asm/bug.h index 23c5504..d02c01b 100644 --- a/arch/sh/include/asm/bug.h +++ b/arch/sh/include/asm/bug.h @@ -98,6 +98,11 @@ do { \ unlikely(__ret_unwinder_on); \ }) +#else + +#define UNWINDER_BUG BUG +#define UNWINDER_BUG_ON BUG_ON + #endif /* CONFIG_GENERIC_BUG */ #include