aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>2008-10-18 23:26:54 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-20 11:52:31 -0400
commit902d2e8ae0de29f483840ba1134af27343b9564d (patch)
tree2f14626a70b5d7fbae9db33dfb155346b154e3f7 /include
parent985737cf2ea096ea946aed82c7484d40defc71a8 (diff)
vmscan: kill unused lru functions
Several LRU manupuration function are not used now. So they can be removed. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Acked-by: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mm_inline.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/include/linux/mm_inline.h b/include/linux/mm_inline.h
index 67d7697fd019..c948350c378e 100644
--- a/include/linux/mm_inline.h
+++ b/include/linux/mm_inline.h
@@ -38,54 +38,6 @@ del_page_from_lru_list(struct zone *zone, struct page *page, enum lru_list l)
38} 38}
39 39
40static inline void 40static inline void
41add_page_to_inactive_anon_list(struct zone *zone, struct page *page)
42{
43 add_page_to_lru_list(zone, page, LRU_INACTIVE_ANON);
44}
45
46static inline void
47add_page_to_active_anon_list(struct zone *zone, struct page *page)
48{
49 add_page_to_lru_list(zone, page, LRU_ACTIVE_ANON);
50}
51
52static inline void
53add_page_to_inactive_file_list(struct zone *zone, struct page *page)
54{
55 add_page_to_lru_list(zone, page, LRU_INACTIVE_FILE);
56}
57
58static inline void
59add_page_to_active_file_list(struct zone *zone, struct page *page)
60{
61 add_page_to_lru_list(zone, page, LRU_ACTIVE_FILE);
62}
63
64static inline void
65del_page_from_inactive_anon_list(struct zone *zone, struct page *page)
66{
67 del_page_from_lru_list(zone, page, LRU_INACTIVE_ANON);
68}
69
70static inline void
71del_page_from_active_anon_list(struct zone *zone, struct page *page)
72{
73 del_page_from_lru_list(zone, page, LRU_ACTIVE_ANON);
74}
75
76static inline void
77del_page_from_inactive_file_list(struct zone *zone, struct page *page)
78{
79 del_page_from_lru_list(zone, page, LRU_INACTIVE_FILE);
80}
81
82static inline void
83del_page_from_active_file_list(struct zone *zone, struct page *page)
84{
85 del_page_from_lru_list(zone, page, LRU_INACTIVE_FILE);
86}
87
88static inline void
89del_page_from_lru(struct zone *zone, struct page *page) 41del_page_from_lru(struct zone *zone, struct page *page)
90{ 42{
91 enum lru_list l = LRU_BASE; 43 enum lru_list l = LRU_BASE;