git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
memcg: fix deadlock between lock_page_cgroup and mapping tree_lock
[sfrench/cifs-2.6.git]
/
include
/
linux
/
swap.h
diff --git
a/include/linux/swap.h
b/include/linux/swap.h
index 62d81435347a7e2a7fa212fd9ae2b17e3e43224c..d476aad3ff577faf4fe7883dc7b33a3aea99b38a 100644
(file)
--- a/
include/linux/swap.h
+++ b/
include/linux/swap.h
@@
-437,6
+437,11
@@
static inline int mem_cgroup_cache_charge_swapin(struct page *page,
return 0;
}
+static inline void
+mem_cgroup_uncharge_swapcache(struct page *page, swp_entry_t ent)
+{
+}
+
#endif /* CONFIG_SWAP */
#endif /* __KERNEL__*/
#endif /* _LINUX_SWAP_H */