diff options
Diffstat (limited to 'include/linux/memcontrol.h')
| -rw-r--r-- | include/linux/memcontrol.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h index 5af377303880..bb7250c45cb8 100644 --- a/include/linux/memcontrol.h +++ b/include/linux/memcontrol.h | |||
| @@ -740,6 +740,12 @@ static inline bool mem_cgroup_oom_synchronize(bool wait) | |||
| 740 | return false; | 740 | return false; |
| 741 | } | 741 | } |
| 742 | 742 | ||
| 743 | static inline void mem_cgroup_update_page_stat(struct page *page, | ||
| 744 | enum mem_cgroup_stat_index idx, | ||
| 745 | int nr) | ||
| 746 | { | ||
| 747 | } | ||
| 748 | |||
| 743 | static inline void mem_cgroup_inc_page_stat(struct page *page, | 749 | static inline void mem_cgroup_inc_page_stat(struct page *page, |
| 744 | enum mem_cgroup_stat_index idx) | 750 | enum mem_cgroup_stat_index idx) |
| 745 | { | 751 | { |
