Skip to content

Commit

Permalink
Blackfin: Convert BUG() to use unreachable()
Browse files Browse the repository at this point in the history
Use the new unreachable() macro instead of for(;;);

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  • Loading branch information
David Daney authored and Mike Frysinger committed Dec 15, 2009
1 parent 5540a44 commit 64a2b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/blackfin/include/asm/bug.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
#define BUG() \
do { \
_BUG_OR_WARN(0); \
for (;;); \
unreachable(); \
} while (0)

#define WARN_ON(condition) \
Expand Down

0 comments on commit 64a2b16

Please sign in to comment.