diff options
Diffstat (limited to 'include/linux/swap.h')
-rw-r--r-- | include/linux/swap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h index a2113044d20a..7edb4cbc29f9 100644 --- a/include/linux/swap.h +++ b/include/linux/swap.h | |||
@@ -232,12 +232,16 @@ static inline int zone_reclaim(struct zone *z, gfp_t mask, unsigned int order) | |||
232 | 232 | ||
233 | #ifdef CONFIG_UNEVICTABLE_LRU | 233 | #ifdef CONFIG_UNEVICTABLE_LRU |
234 | extern int page_evictable(struct page *page, struct vm_area_struct *vma); | 234 | extern int page_evictable(struct page *page, struct vm_area_struct *vma); |
235 | extern void scan_mapping_unevictable_pages(struct address_space *); | ||
235 | #else | 236 | #else |
236 | static inline int page_evictable(struct page *page, | 237 | static inline int page_evictable(struct page *page, |
237 | struct vm_area_struct *vma) | 238 | struct vm_area_struct *vma) |
238 | { | 239 | { |
239 | return 1; | 240 | return 1; |
240 | } | 241 | } |
242 | static inline void scan_mapping_unevictable_pages(struct address_space *mapping) | ||
243 | { | ||
244 | } | ||
241 | #endif | 245 | #endif |
242 | 246 | ||
243 | extern int kswapd_run(int nid); | 247 | extern int kswapd_run(int nid); |