mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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 <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Cc: Stephen Wilson <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: Mel Gorman <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
22d5368a08
commit
e754d79d35
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue