aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/memcontrol.c')
-rw-r--r--mm/memcontrol.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 41041c0a6898..afdd406f618a 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -407,11 +407,13 @@ int task_in_mem_cgroup(struct task_struct *task, const struct mem_cgroup *mem)
407/* 407/*
408 * This routine assumes that the appropriate zone's lru lock is already held 408 * This routine assumes that the appropriate zone's lru lock is already held
409 */ 409 */
410void mem_cgroup_move_lists(struct page_cgroup *pc, bool active) 410void mem_cgroup_move_lists(struct page *page, bool active)
411{ 411{
412 struct page_cgroup *pc;
412 struct mem_cgroup_per_zone *mz; 413 struct mem_cgroup_per_zone *mz;
413 unsigned long flags; 414 unsigned long flags;
414 415
416 pc = page_get_page_cgroup(page);
415 if (!pc) 417 if (!pc)
416 return; 418 return;
417 419