projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik...
[powerpc.git]
/
include
/
asm-sh
/
bug.h
diff --git
a/include/asm-sh/bug.h
b/include/asm-sh/bug.h
index
46f925c
..
a78d482
100644
(file)
--- a/
include/asm-sh/bug.h
+++ b/
include/asm-sh/bug.h
@@
-61,7
+61,7
@@
do { \
} while (0)
#define WARN_ON(x) ({ \
-
typeof(x) __ret_warn_on = (x);
\
+
int __ret_warn_on = !!(x);
\
if (__builtin_constant_p(__ret_warn_on)) { \
if (__ret_warn_on) \
__WARN(); \