Commit e754d79d35f0b8612445a9bd7491c48d7317e3ad
Committed by
Linus Torvalds
1 parent
22d5368a08
Exists in
master
and in
20 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
mm/mempolicy.c
... | ... | @@ -111,7 +111,7 @@ |
111 | 111 | /* |
112 | 112 | * run-time system-wide default policy => local allocation |
113 | 113 | */ |
114 | -struct mempolicy default_policy = { | |
114 | +static struct mempolicy default_policy = { | |
115 | 115 | .refcnt = ATOMIC_INIT(1), /* never free it */ |
116 | 116 | .mode = MPOL_PREFERRED, |
117 | 117 | .flags = MPOL_F_LOCAL, |