diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 9c51f9f58cacc8d4a9c9f363fd5f8778ebfac190..cd237f478304152bdd107bd8cbbb108ed39b7154 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,