From 64a2b168023bfd09037ba760838762e56c44178e Mon Sep 17 00:00:00 2001 From: David Daney Date: Thu, 10 Dec 2009 09:28:21 -0800 Subject: [PATCH] Blackfin: Convert BUG() to use unreachable() Use the new unreachable() macro instead of for(;;); Signed-off-by: David Daney Signed-off-by: Mike Frysinger --- arch/blackfin/include/asm/bug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/blackfin/include/asm/bug.h b/arch/blackfin/include/asm/bug.h index 6f4548a..75f6dc3 100644 --- a/arch/blackfin/include/asm/bug.h +++ b/arch/blackfin/include/asm/bug.h @@ -47,7 +47,7 @@ #define BUG() \ do { \ _BUG_OR_WARN(0); \ - for (;;); \ + unreachable(); \ } while (0) #define WARN_ON(condition) \ -- 2.7.4