diff options
Diffstat (limited to 'mm/migrate.c')
-rw-r--r-- | mm/migrate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/migrate.c b/mm/migrate.c index 417bbda14e5b..763794144697 100644 --- a/mm/migrate.c +++ b/mm/migrate.c | |||
@@ -153,7 +153,7 @@ static void remove_migration_pte(struct vm_area_struct *vma, | |||
153 | return; | 153 | return; |
154 | } | 154 | } |
155 | 155 | ||
156 | if (mem_cgroup_charge(new, mm)) { | 156 | if (mem_cgroup_charge(new, mm, GFP_KERNEL)) { |
157 | pte_unmap(ptep); | 157 | pte_unmap(ptep); |
158 | return; | 158 | return; |
159 | } | 159 | } |