]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/mmdebug.h
tty: Make vt's have a tty_port
[karo-tx-linux.git] / include / linux / mmdebug.h
index ee24ef8ab616e6b48f6ac6cd0d9ff0c038c19bc1..c04ecfe03f7ffeca4781049faa3a0018a91ea368 100644 (file)
@@ -4,7 +4,7 @@
 #ifdef CONFIG_DEBUG_VM
 #define VM_BUG_ON(cond) BUG_ON(cond)
 #else
-#define VM_BUG_ON(cond) do { } while (0)
+#define VM_BUG_ON(cond) do { (void)(cond); } while (0)
 #endif
 
 #ifdef CONFIG_DEBUG_VIRTUAL