Skip to content

Commit 74db247

Browse files
committed
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>
1 parent e115f2c commit 74db247

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎arch/sh/include/asm/bug.h‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,11 @@ do { \
9898
unlikely(__ret_unwinder_on); \
9999
})
100100

101+
#else
102+
103+
#define UNWINDER_BUG BUG
104+
#define UNWINDER_BUG_ON BUG_ON
105+
101106
#endif /* CONFIG_GENERIC_BUG */
102107

103108
#include <asm-generic/bug.h>

0 commit comments

Comments
 (0)