From 17e752a46b858fdd87be6f54d652aa11de135009 Mon Sep 17 00:00:00 2001 From: Konstantin Khlebnikov Date: Tue, 29 May 2012 15:06:28 -0700 Subject: [PATCH] --- yaml --- r: 308846 b: refs/heads/master c: 02602a18c32d76f0e0f50eefa91b2d53c8a3a751 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/mmdebug.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 93a4964bce4d..757e4fe2c9cc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: baf05aa9271bdbc07d3160035a231abc5fbd429a +refs/heads/master: 02602a18c32d76f0e0f50eefa91b2d53c8a3a751 diff --git a/trunk/include/linux/mmdebug.h b/trunk/include/linux/mmdebug.h index c04ecfe03f7f..580bd587d916 100644 --- a/trunk/include/linux/mmdebug.h +++ b/trunk/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