From: Hugh Dickins Date: Wed, 20 Feb 2013 02:14:50 +0000 (+1100) Subject: ksm-trivial-tidyups-fix X-Git-Tag: next-20130220~1^2~431 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0f0ed1669b7a2307dfd3ec4c1157b95742c604c6;p=karo-tx-linux.git ksm-trivial-tidyups-fix Suggested by akpm: make DO_NUMA(x) do { (x); } while (0) more like the #else. Signed-off-by: Hugh Dickins Signed-off-by: Andrew Morton --- diff --git a/mm/ksm.c b/mm/ksm.c index b72d9729f76d..e10dc24508f4 100644 --- a/mm/ksm.c +++ b/mm/ksm.c @@ -43,7 +43,7 @@ #ifdef CONFIG_NUMA #define NUMA(x) (x) -#define DO_NUMA(x) (x) +#define DO_NUMA(x) do { (x); } while (0) #else #define NUMA(x) (0) #define DO_NUMA(x) do { } while (0)