projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5540a44
)
Blackfin: Convert BUG() to use unreachable()
author
David Daney
<ddaney@caviumnetworks.com>
Thu, 10 Dec 2009 17:28:21 +0000
(09:28 -0800)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 15 Dec 2009 13:38:35 +0000
(08:38 -0500)
Use the new unreachable() macro instead of for(;;);
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/bug.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/blackfin/include/asm/bug.h
b/arch/blackfin/include/asm/bug.h
index 6f4548a1355539191e077770f090b548c3eb17ee..75f6dc336d46d4b13e04a42bf8facb44ea79a49f 100644
(file)
--- a/
arch/blackfin/include/asm/bug.h
+++ b/
arch/blackfin/include/asm/bug.h
@@
-47,7
+47,7
@@
#define BUG() \
do { \
_BUG_OR_WARN(0); \
-
for (;;);
\
+
unreachable();
\
} while (0)
#define WARN_ON(condition) \