From: Hugh Dickins Date: Thu, 7 Feb 2013 01:27:00 +0000 (+1100) Subject: ksm-trivial-tidyups-fix X-Git-Tag: next-20130218~1^2~347 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=178ba2437327dc1f8cf05b09db78dc421cbcc810;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)