sh64: dummy unwinder BUG wrappers.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 21 Aug 2009 20:31:45 +0000 (05:31 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Aug 2009 20:31:45 +0000 (05:31 +0900)
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 <lethal@linux-sh.org>
arch/sh/include/asm/bug.h

index 23c5504..d02c01b 100644 (file)
@@ -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 <asm-generic/bug.h>