]> Git Repo - linux.git/commitdiff
Blackfin: Convert BUG() to use unreachable()
authorDavid Daney <[email protected]>
Thu, 10 Dec 2009 17:28:21 +0000 (09:28 -0800)
committerMike Frysinger <[email protected]>
Tue, 15 Dec 2009 13:38:35 +0000 (08:38 -0500)
Use the new unreachable() macro instead of for(;;);

Signed-off-by: David Daney <[email protected]>
Signed-off-by: Mike Frysinger <[email protected]>
arch/blackfin/include/asm/bug.h

index 6f4548a1355539191e077770f090b548c3eb17ee..75f6dc336d46d4b13e04a42bf8facb44ea79a49f 100644 (file)
@@ -47,7 +47,7 @@
 #define BUG()                                                          \
        do {                                                            \
                _BUG_OR_WARN(0);                                        \
-               for (;;);                                               \
+               unreachable();                                          \
        } while (0)
 
 #define WARN_ON(condition)                                                     \
This page took 0.054672 seconds and 4 git commands to generate.