diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/frontswap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/frontswap.h b/include/linux/frontswap.h index 6c49e1eba552..8293262401de 100644 --- a/include/linux/frontswap.h +++ b/include/linux/frontswap.h | |||
| @@ -23,7 +23,7 @@ extern void frontswap_writethrough(bool); | |||
| 23 | extern void frontswap_tmem_exclusive_gets(bool); | 23 | extern void frontswap_tmem_exclusive_gets(bool); |
| 24 | 24 | ||
| 25 | extern bool __frontswap_test(struct swap_info_struct *, pgoff_t); | 25 | extern bool __frontswap_test(struct swap_info_struct *, pgoff_t); |
| 26 | extern void __frontswap_init(unsigned type); | 26 | extern void __frontswap_init(unsigned type, unsigned long *map); |
| 27 | extern int __frontswap_store(struct page *page); | 27 | extern int __frontswap_store(struct page *page); |
| 28 | extern int __frontswap_load(struct page *page); | 28 | extern int __frontswap_load(struct page *page); |
| 29 | extern void __frontswap_invalidate_page(unsigned, pgoff_t); | 29 | extern void __frontswap_invalidate_page(unsigned, pgoff_t); |
| @@ -98,10 +98,10 @@ static inline void frontswap_invalidate_area(unsigned type) | |||
| 98 | __frontswap_invalidate_area(type); | 98 | __frontswap_invalidate_area(type); |
| 99 | } | 99 | } |
| 100 | 100 | ||
| 101 | static inline void frontswap_init(unsigned type) | 101 | static inline void frontswap_init(unsigned type, unsigned long *map) |
| 102 | { | 102 | { |
| 103 | if (frontswap_enabled) | 103 | if (frontswap_enabled) |
| 104 | __frontswap_init(type); | 104 | __frontswap_init(type, map); |
| 105 | } | 105 | } |
| 106 | 106 | ||
| 107 | #endif /* _LINUX_FRONTSWAP_H */ | 107 | #endif /* _LINUX_FRONTSWAP_H */ |
