From: David Daney Date: Thu, 10 Dec 2009 17:28:21 +0000 (-0800) Subject: Blackfin: Convert BUG() to use unreachable() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=64a2b168023bfd09037ba760838762e56c44178e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Blackfin: Convert BUG() to use unreachable() Use the new unreachable() macro instead of for(;;); Signed-off-by: David Daney Signed-off-by: Mike Frysinger --- 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 @@ #define BUG() \ do { \ _BUG_OR_WARN(0); \ - for (;;); \ + unreachable(); \ } while (0) #define WARN_ON(condition) \