X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Flinux%2Fmmdebug.h;h=580bd587d916cfa28116e814b24639e1719efe5c;hb=aace99e57c90353a51952e9dd1f6f110eec30d15;hp=c04ecfe03f7ffeca4781049faa3a0018a91ea368;hpb=e9a68707d736f4f73d7e209885d7b4c5c452b1dc;p=firefly-linux-kernel-4.4.55.git diff --git a/include/linux/mmdebug.h b/include/linux/mmdebug.h index c04ecfe03f7f..580bd587d916 100644 --- a/include/linux/mmdebug.h +++ b/include/linux/mmdebug.h @@ -4,7 +4,7 @@ #ifdef CONFIG_DEBUG_VM #define VM_BUG_ON(cond) BUG_ON(cond) #else -#define VM_BUG_ON(cond) do { (void)(cond); } while (0) +#define VM_BUG_ON(cond) BUILD_BUG_ON_INVALID(cond) #endif #ifdef CONFIG_DEBUG_VIRTUAL