rtc: Suppress duplicate enable/disable of WM8350 update interrupt
[safe/jmp/linux-2.6] / include / linux / rmap.h
index 62da200..d25bd22 100644 (file)
@@ -125,6 +125,7 @@ static inline void anon_vma_merge(struct vm_area_struct *vma,
 /*
  * rmap interfaces called when adding or removing pte of page
  */
+void page_move_anon_rmap(struct page *, struct vm_area_struct *, unsigned long);
 void page_add_anon_rmap(struct page *, struct vm_area_struct *, unsigned long);
 void page_add_new_anon_rmap(struct page *, struct vm_area_struct *, unsigned long);
 void page_add_file_rmap(struct page *);
@@ -208,7 +209,7 @@ static inline int page_referenced(struct page *page, int is_locked,
                                  unsigned long *vm_flags)
 {
        *vm_flags = 0;
-       return TestClearPageReferenced(page);
+       return 0;
 }
 
 #define try_to_unmap(page, refs) SWAP_FAIL