]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/swap.h
vmscan: free swap space on swap-in/activation
[linux-2.6-omap-h63xx.git] / include / linux / swap.h
index fcc169610d093c1752746c2b645073437c5f888f..833be56ad835e9c070579042548e3f5f5cce69e7 100644 (file)
@@ -265,6 +265,7 @@ extern sector_t swapdev_block(int, pgoff_t);
 extern struct swap_info_struct *get_swap_info_struct(unsigned);
 extern int can_share_swap_page(struct page *);
 extern int remove_exclusive_swap_page(struct page *);
+extern int remove_exclusive_swap_page_ref(struct page *);
 struct backing_dev_info;
 
 /* linux/mm/thrash.c */
@@ -353,6 +354,11 @@ static inline int remove_exclusive_swap_page(struct page *p)
        return 0;
 }
 
+static inline int remove_exclusive_swap_page_ref(struct page *page)
+{
+       return 0;
+}
+
 static inline swp_entry_t get_swap_page(void)
 {
        swp_entry_t entry;