diff options
Diffstat (limited to 'include/linux/swap.h')
-rw-r--r-- | include/linux/swap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h index e24fa9b69cbf..aca9bfae208f 100644 --- a/include/linux/swap.h +++ b/include/linux/swap.h | |||
@@ -295,7 +295,7 @@ static inline void disable_swap_token(void) | |||
295 | #define read_swap_cache_async(swp,vma,addr) NULL | 295 | #define read_swap_cache_async(swp,vma,addr) NULL |
296 | #define lookup_swap_cache(swp) NULL | 296 | #define lookup_swap_cache(swp) NULL |
297 | #define valid_swaphandles(swp, off) 0 | 297 | #define valid_swaphandles(swp, off) 0 |
298 | #define can_share_swap_page(p) 0 | 298 | #define can_share_swap_page(p) (page_mapcount(p) == 1) |
299 | #define move_to_swap_cache(p, swp) 1 | 299 | #define move_to_swap_cache(p, swp) 1 |
300 | #define move_from_swap_cache(p, i, m) 1 | 300 | #define move_from_swap_cache(p, i, m) 1 |
301 | #define __delete_from_swap_cache(p) /*NOTHING*/ | 301 | #define __delete_from_swap_cache(p) /*NOTHING*/ |