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 a9963ceddd65..9870624d72a6 100644
--- a/mm/mempolicy.c
+++ b/mm/mempolicy.c
@@ -1096,7 +1096,7 @@ static struct zonelist *zonelist_policy(gfp_t gfp, struct mempolicy *policy)
1096 case MPOL_BIND: 1096 case MPOL_BIND:
1097 /* Lower zones don't get a policy applied */ 1097 /* Lower zones don't get a policy applied */
1098 /* Careful: current->mems_allowed might have moved */ 1098 /* Careful: current->mems_allowed might have moved */
1099 if (gfp_zone(gfp) >= policy_zone) 1099 if (highest_zone(gfp) >= policy_zone)
1100 if (cpuset_zonelist_valid_mems_allowed(policy->v.zonelist)) 1100 if (cpuset_zonelist_valid_mems_allowed(policy->v.zonelist))
1101 return policy->v.zonelist; 1101 return policy->v.zonelist;
1102 /*FALL THROUGH*/ 1102 /*FALL THROUGH*/