s390: Convert BUG() to use unreachable()

Use the new unreachable() macro instead of for(;;);

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
CC: Heiko Carstens <heiko.carstens@de.ibm.com>
CC: linux390@de.ibm.com
CC: linux-s390@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
David Daney 2009-12-04 17:44:53 -08:00 committed by Linus Torvalds
parent 4ef5651e85
commit 5506e68975
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@
#define BUG() do { \
__EMIT_BUG(0); \
for (;;); \
unreachable(); \
} while (0)
#define WARN_ON(x) ({ \