diff options
Diffstat (limited to 'include/linux/swap.h')
-rw-r--r-- | include/linux/swap.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h index fcc169610d09..833be56ad835 100644 --- a/include/linux/swap.h +++ b/include/linux/swap.h | |||
@@ -265,6 +265,7 @@ extern sector_t swapdev_block(int, pgoff_t); | |||
265 | extern struct swap_info_struct *get_swap_info_struct(unsigned); | 265 | extern struct swap_info_struct *get_swap_info_struct(unsigned); |
266 | extern int can_share_swap_page(struct page *); | 266 | extern int can_share_swap_page(struct page *); |
267 | extern int remove_exclusive_swap_page(struct page *); | 267 | extern int remove_exclusive_swap_page(struct page *); |
268 | extern int remove_exclusive_swap_page_ref(struct page *); | ||
268 | struct backing_dev_info; | 269 | struct backing_dev_info; |
269 | 270 | ||
270 | /* linux/mm/thrash.c */ | 271 | /* linux/mm/thrash.c */ |
@@ -353,6 +354,11 @@ static inline int remove_exclusive_swap_page(struct page *p) | |||
353 | return 0; | 354 | return 0; |
354 | } | 355 | } |
355 | 356 | ||
357 | static inline int remove_exclusive_swap_page_ref(struct page *page) | ||
358 | { | ||
359 | return 0; | ||
360 | } | ||
361 | |||
356 | static inline swp_entry_t get_swap_page(void) | 362 | static inline swp_entry_t get_swap_page(void) |
357 | { | 363 | { |
358 | swp_entry_t entry; | 364 | swp_entry_t entry; |