Commit e754d79d authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Linus Torvalds

mm/mempolicy.c: quiet sparse noise

Quiet the spares noise:

warning: symbol 'default_policy' was not declared. Should it be static?
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Stephen Wilson <wilsons@start.ca>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 22d5368a
...@@ -111,7 +111,7 @@ enum zone_type policy_zone = 0; ...@@ -111,7 +111,7 @@ enum zone_type policy_zone = 0;
/* /*
* run-time system-wide default policy => local allocation * run-time system-wide default policy => local allocation
*/ */
struct mempolicy default_policy = { static struct mempolicy default_policy = {
.refcnt = ATOMIC_INIT(1), /* never free it */ .refcnt = ATOMIC_INIT(1), /* never free it */
.mode = MPOL_PREFERRED, .mode = MPOL_PREFERRED,
.flags = MPOL_F_LOCAL, .flags = MPOL_F_LOCAL,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment