aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/swap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/swap.h')
-rw-r--r--include/linux/swap.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h
index 0cedf31af0b0..dca9b9999aeb 100644
--- a/include/linux/swap.h
+++ b/include/linux/swap.h
@@ -423,12 +423,6 @@ static inline swp_entry_t get_swap_page(void)
423#define has_swap_token(x) 0 423#define has_swap_token(x) 0
424#define disable_swap_token() do { } while(0) 424#define disable_swap_token() do { } while(0)
425 425
426static inline int mem_cgroup_cache_charge_swapin(struct page *page,
427 struct mm_struct *mm, gfp_t mask, bool locked)
428{
429 return 0;
430}
431
432static inline void 426static inline void
433mem_cgroup_uncharge_swapcache(struct page *page, swp_entry_t ent) 427mem_cgroup_uncharge_swapcache(struct page *page, swp_entry_t ent)
434{ 428{