aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mempolicy.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/mempolicy.c')
-rw-r--r--mm/mempolicy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c
index 7da4142ce960..c3429a710ab1 100644
--- a/mm/mempolicy.c
+++ b/mm/mempolicy.c
@@ -1101,7 +1101,7 @@ static struct zonelist *zonelist_policy(gfp_t gfp, struct mempolicy *policy)
1101 case MPOL_BIND: 1101 case MPOL_BIND:
1102 /* Lower zones don't get a policy applied */ 1102 /* Lower zones don't get a policy applied */
1103 /* Careful: current->mems_allowed might have moved */ 1103 /* Careful: current->mems_allowed might have moved */
1104 if (highest_zone(gfp) >= policy_zone) 1104 if (gfp_zone(gfp) >= policy_zone)
1105 if (cpuset_zonelist_valid_mems_allowed(policy->v.zonelist)) 1105 if (cpuset_zonelist_valid_mems_allowed(policy->v.zonelist))
1106 return policy->v.zonelist; 1106 return policy->v.zonelist;
1107 /*FALL THROUGH*/ 1107 /*FALL THROUGH*/