summaryrefslogtreecommitdiff
path: root/include/linux/swapfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/swapfile.h')
-rw-r--r--include/linux/swapfile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/swapfile.h b/include/linux/swapfile.h
index 06bd7b096167..e06febf62978 100644
--- a/include/linux/swapfile.h
+++ b/include/linux/swapfile.h
@@ -10,5 +10,7 @@ extern spinlock_t swap_lock;
extern struct plist_head swap_active_head;
extern struct swap_info_struct *swap_info[];
extern int try_to_unuse(unsigned int, bool, unsigned long);
+extern unsigned long generic_max_swapfile_size(void);
+extern unsigned long max_swapfile_size(void);
#endif /* _LINUX_SWAPFILE_H */