diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memcontrol.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index b5ac61ce7346..9eee80d6d490 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -282,6 +282,11 @@ mem_cgroup_zoneinfo(struct mem_cgroup *mem, int nid, int zid) | |||
282 | return &mem->info.nodeinfo[nid]->zoneinfo[zid]; | 282 | return &mem->info.nodeinfo[nid]->zoneinfo[zid]; |
283 | } | 283 | } |
284 | 284 | ||
285 | struct cgroup_subsys_state *mem_cgroup_css(struct mem_cgroup *mem) | ||
286 | { | ||
287 | return &mem->css; | ||
288 | } | ||
289 | |||
285 | static struct mem_cgroup_per_zone * | 290 | static struct mem_cgroup_per_zone * |
286 | page_cgroup_zoneinfo(struct page_cgroup *pc) | 291 | page_cgroup_zoneinfo(struct page_cgroup *pc) |
287 | { | 292 | { |