aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/page_cgroup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/page_cgroup.h b/include/linux/page_cgroup.h
index aaa60da8783c..1153095ee457 100644
--- a/include/linux/page_cgroup.h
+++ b/include/linux/page_cgroup.h
@@ -149,7 +149,7 @@ static inline void __init page_cgroup_init_flatmem(void)
149extern unsigned short swap_cgroup_cmpxchg(swp_entry_t ent, 149extern unsigned short swap_cgroup_cmpxchg(swp_entry_t ent,
150 unsigned short old, unsigned short new); 150 unsigned short old, unsigned short new);
151extern unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id); 151extern unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id);
152extern unsigned short lookup_swap_cgroup(swp_entry_t ent); 152extern unsigned short lookup_swap_cgroup_id(swp_entry_t ent);
153extern int swap_cgroup_swapon(int type, unsigned long max_pages); 153extern int swap_cgroup_swapon(int type, unsigned long max_pages);
154extern void swap_cgroup_swapoff(int type); 154extern void swap_cgroup_swapoff(int type);
155#else 155#else
@@ -161,7 +161,7 @@ unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id)
161} 161}
162 162
163static inline 163static inline
164unsigned short lookup_swap_cgroup(swp_entry_t ent) 164unsigned short lookup_swap_cgroup_id(swp_entry_t ent)
165{ 165{
166 return 0; 166 return 0;
167} 167}