aboutsummaryrefslogtreecommitdiffstats
path: root/mm/migrate.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/migrate.c')
-rw-r--r--mm/migrate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/migrate.c b/mm/migrate.c
index 3f675ca08279..cae02711181d 100644
--- a/mm/migrate.c
+++ b/mm/migrate.c
@@ -1238,7 +1238,7 @@ static int do_pages_move(struct mm_struct *mm, nodemask_t task_nodes,
1238 if (node < 0 || node >= MAX_NUMNODES) 1238 if (node < 0 || node >= MAX_NUMNODES)
1239 goto out_pm; 1239 goto out_pm;
1240 1240
1241 if (!node_state(node, N_HIGH_MEMORY)) 1241 if (!node_state(node, N_MEMORY))
1242 goto out_pm; 1242 goto out_pm;
1243 1243
1244 err = -EACCES; 1244 err = -EACCES;