projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'modules-for-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu...
[linux-2.6-microblaze.git]
/
include
/
asm-generic
/
bug.h
diff --git
a/include/asm-generic/bug.h
b/include/asm-generic/bug.h
index
aa6c093
..
7357a3c
100644
(file)
--- a/
include/asm-generic/bug.h
+++ b/
include/asm-generic/bug.h
@@
-185,7
+185,7
@@
void __warn(const char *file, int line, void *caller, unsigned taint,
#endif
#ifndef HAVE_ARCH_BUG_ON
-#define BUG_ON(condition) do { if (
condition
) BUG(); } while (0)
+#define BUG_ON(condition) do { if (
unlikely(condition)
) BUG(); } while (0)
#endif
#ifndef HAVE_ARCH_WARN_ON