diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2011-10-31 20:09:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-31 20:30:50 -0400 |
commit | e754d79d35f0b8612445a9bd7491c48d7317e3ad (patch) | |
tree | 6ba53676ba3b425144b7723793e9cda6581a6790 | |
parent | 22d5368a0838c00ed0e3ec20e7ff8c6e46ba99ef (diff) |
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 <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: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | mm/mempolicy.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; | |||
111 | /* | 111 | /* |
112 | * run-time system-wide default policy => local allocation | 112 | * run-time system-wide default policy => local allocation |
113 | */ | 113 | */ |
114 | struct mempolicy default_policy = { | 114 | static struct mempolicy default_policy = { |
115 | .refcnt = ATOMIC_INIT(1), /* never free it */ | 115 | .refcnt = ATOMIC_INIT(1), /* never free it */ |
116 | .mode = MPOL_PREFERRED, | 116 | .mode = MPOL_PREFERRED, |
117 | .flags = MPOL_F_LOCAL, | 117 | .flags = MPOL_F_LOCAL, |