projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ef5651
)
s390: Convert BUG() to use unreachable()
author
David Daney
<ddaney@caviumnetworks.com>
Sat, 5 Dec 2009 01:44:53 +0000
(17:44 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sat, 5 Dec 2009 17:10:12 +0000
(09:10 -0800)
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>
arch/s390/include/asm/bug.h
patch
|
blob
|
history
diff --git
a/arch/s390/include/asm/bug.h
b/arch/s390/include/asm/bug.h
index
7efd0ab
..
efb74fd
100644
(file)
--- 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) ({ \