diff options
Diffstat (limited to 'mm/rmap.c')
-rw-r--r-- | mm/rmap.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -754,9 +754,6 @@ static void __page_check_anon_rmap(struct page *page, | |||
754 | * are initially only visible via the pagetables, and the pte is locked | 754 | * are initially only visible via the pagetables, and the pte is locked |
755 | * over the call to page_add_new_anon_rmap. | 755 | * over the call to page_add_new_anon_rmap. |
756 | */ | 756 | */ |
757 | struct anon_vma *anon_vma = vma->anon_vma; | ||
758 | anon_vma = (void *) anon_vma + PAGE_MAPPING_ANON; | ||
759 | BUG_ON(page->mapping != (struct address_space *)anon_vma); | ||
760 | BUG_ON(page->index != linear_page_index(vma, address)); | 757 | BUG_ON(page->index != linear_page_index(vma, address)); |
761 | #endif | 758 | #endif |
762 | } | 759 | } |