projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d69b042
)
memcg: remove mem_cgroup_cache_charge_swapin()
author
Daisuke Nishimura
<
[email protected]
>
Wed, 17 Jun 2009 23:27:15 +0000
(16:27 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 18 Jun 2009 20:03:47 +0000
(13:03 -0700)
mem_cgroup_cache_charge_swapin() isn't used any more, so remove no-op
definition of it in header file.
Signed-off-by: Daisuke Nishimura <
[email protected]
>
Cc: Balbir Singh <
[email protected]
>
Acked-by: KAMEZAWA Hiroyuki <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/swap.h
patch
|
blob
|
history
diff --git
a/include/linux/swap.h
b/include/linux/swap.h
index 0cedf31af0b0ed4cd230c2eb9cc2cf1a8c5e95af..dca9b9999aebf5a1bd3f12dcfd47ea8ba2addd8e 100644
(file)
--- a/
include/linux/swap.h
+++ b/
include/linux/swap.h
@@
-423,12
+423,6
@@
static inline swp_entry_t get_swap_page(void)
#define has_swap_token(x) 0
#define disable_swap_token() do { } while(0)
-static inline int mem_cgroup_cache_charge_swapin(struct page *page,
- struct mm_struct *mm, gfp_t mask, bool locked)
-{
- return 0;
-}
-
static inline void
mem_cgroup_uncharge_swapcache(struct page *page, swp_entry_t ent)
{