From 0f0ed1669b7a2307dfd3ec4c1157b95742c604c6 Mon Sep 17 00:00:00 2001 From: Hugh Dickins Date: Wed, 20 Feb 2013 13:14:50 +1100 Subject: [PATCH] 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 --- mm/ksm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5