Skip to content

Commit

Permalink
sh64: dummy unwinder BUG wrappers.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Aug 21, 2009
1 parent e115f2c commit 74db247
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions arch/sh/include/asm/bug.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 74db247

Please sign in to comment.