diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-08-21 16:31:45 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-08-21 16:31:45 -0400 |
commit | 74db2479c1fecefd0a190f282f28f00565309807 (patch) | |
tree | 4a8263443260ba8014c6f979378a586568b1e8b0 /arch/sh/include/asm/bug.h | |
parent | e115f2c17cbceee93b34d787a7a4a867fc73e7b4 (diff) |
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/asm/bug.h')
-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 { \ | |||
98 | unlikely(__ret_unwinder_on); \ | 98 | unlikely(__ret_unwinder_on); \ |
99 | }) | 99 | }) |
100 | 100 | ||
101 | #else | ||
102 | |||
103 | #define UNWINDER_BUG BUG | ||
104 | #define UNWINDER_BUG_ON BUG_ON | ||
105 | |||
101 | #endif /* CONFIG_GENERIC_BUG */ | 106 | #endif /* CONFIG_GENERIC_BUG */ |
102 | 107 | ||
103 | #include <asm-generic/bug.h> | 108 | #include <asm-generic/bug.h> |