diff options
Diffstat (limited to 'include/linux/rmap.h')
-rw-r--r-- | include/linux/rmap.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/rmap.h b/include/linux/rmap.h index 35b30e6c8cf8..9d6fbeef2104 100644 --- a/include/linux/rmap.h +++ b/include/linux/rmap.h | |||
@@ -71,6 +71,7 @@ void __anon_vma_link(struct vm_area_struct *); | |||
71 | * rmap interfaces called when adding or removing pte of page | 71 | * rmap interfaces called when adding or removing pte of page |
72 | */ | 72 | */ |
73 | void page_add_anon_rmap(struct page *, struct vm_area_struct *, unsigned long); | 73 | void page_add_anon_rmap(struct page *, struct vm_area_struct *, unsigned long); |
74 | void page_add_new_anon_rmap(struct page *, struct vm_area_struct *, unsigned long); | ||
74 | void page_add_file_rmap(struct page *); | 75 | void page_add_file_rmap(struct page *); |
75 | void page_remove_rmap(struct page *); | 76 | void page_remove_rmap(struct page *); |
76 | 77 | ||
@@ -89,7 +90,7 @@ static inline void page_dup_rmap(struct page *page) | |||
89 | /* | 90 | /* |
90 | * Called from mm/vmscan.c to handle paging out | 91 | * Called from mm/vmscan.c to handle paging out |
91 | */ | 92 | */ |
92 | int page_referenced(struct page *, int is_locked, int ignore_token); | 93 | int page_referenced(struct page *, int is_locked); |
93 | int try_to_unmap(struct page *); | 94 | int try_to_unmap(struct page *); |
94 | 95 | ||
95 | /* | 96 | /* |
@@ -109,7 +110,7 @@ unsigned long page_address_in_vma(struct page *, struct vm_area_struct *); | |||
109 | #define anon_vma_prepare(vma) (0) | 110 | #define anon_vma_prepare(vma) (0) |
110 | #define anon_vma_link(vma) do {} while (0) | 111 | #define anon_vma_link(vma) do {} while (0) |
111 | 112 | ||
112 | #define page_referenced(page,l,i) TestClearPageReferenced(page) | 113 | #define page_referenced(page,l) TestClearPageReferenced(page) |
113 | #define try_to_unmap(page) SWAP_FAIL | 114 | #define try_to_unmap(page) SWAP_FAIL |
114 | 115 | ||
115 | #endif /* CONFIG_MMU */ | 116 | #endif /* CONFIG_MMU */ |