From: H Hartley Sweeten Date: Tue, 1 Nov 2011 00:09:23 +0000 (-0700) Subject: mm/mempolicy.c: quiet sparse noise X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e754d79d35f0b8612445a9bd7491c48d7317e3ad;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 Signed-off-by: Linus Torvalds --- 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,