diff options
author | David Daney <[email protected]> | 2009-12-04 17:44:53 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-12-05 09:10:12 -0800 |
commit | 5506e68975c346e55f786b554e28e368cdede444 (patch) | |
tree | 9ef0968ca686c5e0c1c402ea8b5f5c18657356ee | |
parent | 4ef5651e85589e3aaca704c6d2d7ae7e794e5d25 (diff) |
s390: Convert BUG() to use unreachable()
Use the new unreachable() macro instead of for(;;);
Signed-off-by: David Daney <[email protected]>
Acked-by: Martin Schwidefsky <[email protected]>
CC: Heiko Carstens <[email protected]>
CC: [email protected]
CC: [email protected]
Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r-- | arch/s390/include/asm/bug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/bug.h b/arch/s390/include/asm/bug.h index 7efd0abe8887..efb74fd5156e 100644 --- a/arch/s390/include/asm/bug.h +++ b/arch/s390/include/asm/bug.h @@ -49,7 +49,7 @@ #define BUG() do { \ __EMIT_BUG(0); \ - for (;;); \ + unreachable(); \ } while (0) #define WARN_ON(x) ({ \ |