projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5506e68
)
avr32: Convert BUG() to use unreachable()
author
David Daney
<ddaney@caviumnetworks.com>
Sat, 5 Dec 2009 01:44:54 +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: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/avr32/include/asm/bug.h
patch
|
blob
|
history
diff --git
a/arch/avr32/include/asm/bug.h
b/arch/avr32/include/asm/bug.h
index 331d45bab18f3b13e4eaf4faa4aaf6433883f924..2aa373cc61b58e7f7c4807837a60a0c687269f27 100644
(file)
--- a/
arch/avr32/include/asm/bug.h
+++ b/
arch/avr32/include/asm/bug.h
@@
-52,7
+52,7
@@
#define BUG() \
do { \
_BUG_OR_WARN(0); \
-
for (;;);
\
+
unreachable();
\
} while (0)
#define WARN_ON(condition) \