2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-20 00:26:39 +08:00

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>
This commit is contained in:
David Daney 2009-12-10 09:28:21 -08:00 committed by Mike Frysinger
parent 5540a44e3e
commit 64a2b16802

View File

@ -47,7 +47,7 @@
#define BUG() \
do { \
_BUG_OR_WARN(0); \
for (;;); \
unreachable(); \
} while (0)
#define WARN_ON(condition) \