diff options
Diffstat (limited to '')
-rw-r--r-- | mm/swap_cgroup.c (renamed from mm/page_cgroup.c) | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/mm/page_cgroup.c b/mm/swap_cgroup.c index f0f31c1d4d0c..b5f7f24b8dd1 100644 --- a/mm/page_cgroup.c +++ b/mm/swap_cgroup.c @@ -1,9 +1,8 @@ -#include <linux/mm.h> -#include <linux/page_cgroup.h> +#include <linux/swap_cgroup.h> #include <linux/vmalloc.h> -#include <linux/swapops.h> +#include <linux/mm.h> -#ifdef CONFIG_MEMCG_SWAP +#include <linux/swapops.h> /* depends on mm.h include */ static DEFINE_MUTEX(swap_cgroup_mutex); struct swap_cgroup_ctrl { @@ -207,5 +206,3 @@ void swap_cgroup_swapoff(int type) vfree(map); } } - -#endif |