diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 868d08f49f07e7f27cc39a9a7525de3e7fd8a5ee..74310017296ee02317b79a2c28b25ef303fc7720 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@ -2390,7 +2390,7 @@ static int shared_policy_replace(struct shared_policy *sp, unsigned long start, *mpol_new = *n->policy; atomic_set(&mpol_new->refcnt, 1); - sp_node_init(n_new, n->end, end, mpol_new); + sp_node_init(n_new, end, n->end, mpol_new); n->end = start; sp_insert(sp, n_new); n_new = NULL;