diff options
Diffstat (limited to 'include/linux/swap.h')
-rw-r--r-- | include/linux/swap.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h index ec2b7a42b45f..600b03b7732e 100644 --- a/include/linux/swap.h +++ b/include/linux/swap.h | |||
@@ -224,21 +224,11 @@ static inline void lru_cache_add_anon(struct page *page) | |||
224 | __lru_cache_add(page, LRU_INACTIVE_ANON); | 224 | __lru_cache_add(page, LRU_INACTIVE_ANON); |
225 | } | 225 | } |
226 | 226 | ||
227 | static inline void lru_cache_add_active_anon(struct page *page) | ||
228 | { | ||
229 | __lru_cache_add(page, LRU_ACTIVE_ANON); | ||
230 | } | ||
231 | |||
232 | static inline void lru_cache_add_file(struct page *page) | 227 | static inline void lru_cache_add_file(struct page *page) |
233 | { | 228 | { |
234 | __lru_cache_add(page, LRU_INACTIVE_FILE); | 229 | __lru_cache_add(page, LRU_INACTIVE_FILE); |
235 | } | 230 | } |
236 | 231 | ||
237 | static inline void lru_cache_add_active_file(struct page *page) | ||
238 | { | ||
239 | __lru_cache_add(page, LRU_ACTIVE_FILE); | ||
240 | } | ||
241 | |||
242 | /* linux/mm/vmscan.c */ | 232 | /* linux/mm/vmscan.c */ |
243 | extern unsigned long try_to_free_pages(struct zonelist *zonelist, int order, | 233 | extern unsigned long try_to_free_pages(struct zonelist *zonelist, int order, |
244 | gfp_t gfp_mask, nodemask_t *mask); | 234 | gfp_t gfp_mask, nodemask_t *mask); |