]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-s390/bug.h
x86: introduce /dev/mem restrictions with a config option
[linux-2.6-omap-h63xx.git] / include / asm-s390 / bug.h
index 838684dc6d35c50a04ccd05afafad9d0a5cd7001..384e3621e3418055feb30164c207f058cf746c58 100644 (file)
@@ -50,7 +50,7 @@
 #define BUG()  __EMIT_BUG(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)                      \
                        __EMIT_BUG(BUGFLAG_WARNING);    \