aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/memcontrol.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/memcontrol.h')
-rw-r--r--include/linux/memcontrol.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
index 326f45c86530..7aba9f264622 100644
--- a/include/linux/memcontrol.h
+++ b/include/linux/memcontrol.h
@@ -104,6 +104,8 @@ struct zone_reclaim_stat *mem_cgroup_get_reclaim_stat(struct mem_cgroup *memcg,
104 struct zone *zone); 104 struct zone *zone);
105struct zone_reclaim_stat* 105struct zone_reclaim_stat*
106mem_cgroup_get_reclaim_stat_from_page(struct page *page); 106mem_cgroup_get_reclaim_stat_from_page(struct page *page);
107extern void mem_cgroup_print_oom_info(struct mem_cgroup *memcg,
108 struct task_struct *p);
107 109
108#ifdef CONFIG_CGROUP_MEM_RES_CTLR_SWAP 110#ifdef CONFIG_CGROUP_MEM_RES_CTLR_SWAP
109extern int do_swap_account; 111extern int do_swap_account;
@@ -270,6 +272,11 @@ mem_cgroup_get_reclaim_stat_from_page(struct page *page)
270 return NULL; 272 return NULL;
271} 273}
272 274
275static inline void
276mem_cgroup_print_oom_info(struct mem_cgroup *memcg, struct task_struct *p)
277{
278}
279
273#endif /* CONFIG_CGROUP_MEM_CONT */ 280#endif /* CONFIG_CGROUP_MEM_CONT */
274 281
275#endif /* _LINUX_MEMCONTROL_H */ 282#endif /* _LINUX_MEMCONTROL_H */