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-20111007~1^2~142 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7047131c8c0dc37259b2339291c2216ec2dedecb;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,