aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorDavid Daney <ddaney@caviumnetworks.com>2009-12-10 12:28:21 -0500
committerMike Frysinger <vapier@gentoo.org>2009-12-15 08:38:35 -0500
commit64a2b168023bfd09037ba760838762e56c44178e (patch)
tree9251710674f6eb93b517782d0f48013f20b98a0d /arch/blackfin
parent5540a44e3ec5b738e9cf09d0c3a6f95328468701 (diff)
Blackfin: Convert BUG() to use unreachable()
Use the new unreachable() macro instead of for(;;); Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/include/asm/bug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/bug.h b/arch/blackfin/include/asm/bug.h
index 6f4548a13555..75f6dc336d46 100644
--- a/arch/blackfin/include/asm/bug.h
+++ b/arch/blackfin/include/asm/bug.h
@@ -47,7 +47,7 @@
47#define BUG() \ 47#define BUG() \
48 do { \ 48 do { \
49 _BUG_OR_WARN(0); \ 49 _BUG_OR_WARN(0); \
50 for (;;); \ 50 unreachable(); \
51 } while (0) 51 } while (0)
52 52
53#define WARN_ON(condition) \ 53#define WARN_ON(condition) \