aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/swap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/swap.h')
-rw-r--r--include/linux/swap.h4
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
234extern int page_evictable(struct page *page, struct vm_area_struct *vma); 234extern int page_evictable(struct page *page, struct vm_area_struct *vma);
235extern void scan_mapping_unevictable_pages(struct address_space *);
235#else 236#else
236static inline int page_evictable(struct page *page, 237static 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}
242static inline void scan_mapping_unevictable_pages(struct address_space *mapping)
243{
244}
241#endif 245#endif
242 246
243extern int kswapd_run(int nid); 247extern int kswapd_run(int nid);