mm/memory.c: In function 'do_swap_page':
mm/memory.c:2194: error: implicit declaration of function 
'try_to_remove_exclusive_swap_page'
---

 patch applies on top of
 c77d67e020b658888c69f9133850e298b7c3d02e
 'UBC: fix preempt_enable() placement in dcache accounting' in 
linux-2.6.24-openvz.

diff --git a/include/linux/swap.h b/include/linux/swap.h
index 03c8590..4c19128 100644
--- a/include/linux/swap.h
+++ b/include/linux/swap.h
@@ -371,6 +371,11 @@ static inline int remove_exclusive_swap_page(struct page 
*p)
        return 0;
 }
 
+static inline int try_to_remove_exclusive_swap_page(struct page *page)
+{
+       return 0;
+}
+
 static inline swp_entry_t get_swap_page(struct user_beancounter *ub)
 {
        swp_entry_t entry;
-- 
1.5.3.7

_______________________________________________
Devel mailing list
Devel@openvz.org
https://openvz.org/mailman/listinfo/devel

Reply via email to