diff options
-rw-r--r-- | include/linux/swap.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h index 49b1dd2c100b..ac9bd84c905e 100644 --- a/include/linux/swap.h +++ b/include/linux/swap.h @@ -537,7 +537,11 @@ static inline void put_swap_device(struct swap_info_struct *si) { } -#define swap_address_space(entry) (NULL) +static inline struct address_space *swap_address_space(swp_entry_t entry) +{ + return NULL; +} + #define get_nr_swap_pages() 0L #define total_swap_pages 0L #define total_swapcache_pages() 0UL |