diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-22 05:31:45 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-22 05:31:45 +0900 |
commit | 74db2479c1fecefd0a190f282f28f00565309807 (patch) | |
tree | 4a8263443260ba8014c6f979378a586568b1e8b0 /arch/sh/include | |
parent | e115f2c17cbceee93b34d787a7a4a867fc73e7b4 (diff) | |
download | linux-74db2479c1fecefd0a190f282f28f00565309807.tar.gz linux-74db2479c1fecefd0a190f282f28f00565309807.tar.bz2 linux-74db2479c1fecefd0a190f282f28f00565309807.zip |
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 <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r-- | arch/sh/include/asm/bug.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sh/include/asm/bug.h b/arch/sh/include/asm/bug.h index 23c5504a3a01..d02c01b3e6b9 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 <asm-generic/bug.h> |