From: H Hartley Sweeten Date: Wed, 5 Oct 2011 00:43:14 +0000 (+1100) Subject: mm/mempolicy.c: quiet sparse noise X-Git-Tag: next-20111013~1^2~142 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=feea2699bca8740f8c0e08c80808e7b8cd2b43d1;p=karo-tx-linux.git mm/mempolicy.c: quiet sparse noise Quiet the spares noise: warning: symbol 'default_policy' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten Cc: KOSAKI Motohiro Cc: Stephen Wilson Cc: Andrea Arcangeli Cc: Mel Gorman Signed-off-by: Andrew Morton --- diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 9c51f9f58cac..cd237f478304 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@ -111,7 +111,7 @@ enum zone_type policy_zone = 0; /* * run-time system-wide default policy => local allocation */ -struct mempolicy default_policy = { +static struct mempolicy default_policy = { .refcnt = ATOMIC_INIT(1), /* never free it */ .mode = MPOL_PREFERRED, .flags = MPOL_F_LOCAL,