aboutsummaryrefslogtreecommitdiffstats
path: root/mm/rmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/rmap.c')
-rw-r--r--mm/rmap.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/mm/rmap.c b/mm/rmap.c
index b1770b11a571..32098255082e 100644
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -47,7 +47,6 @@
47#include <linux/rmap.h> 47#include <linux/rmap.h>
48#include <linux/rcupdate.h> 48#include <linux/rcupdate.h>
49#include <linux/module.h> 49#include <linux/module.h>
50#include <linux/kallsyms.h>
51#include <linux/memcontrol.h> 50#include <linux/memcontrol.h>
52#include <linux/mmu_notifier.h> 51#include <linux/mmu_notifier.h>
53#include <linux/migrate.h> 52#include <linux/migrate.h>
@@ -725,21 +724,6 @@ void page_dup_rmap(struct page *page, struct vm_area_struct *vma, unsigned long
725void page_remove_rmap(struct page *page, struct vm_area_struct *vma) 724void page_remove_rmap(struct page *page, struct vm_area_struct *vma)
726{ 725{
727 if (atomic_add_negative(-1, &page->_mapcount)) { 726 if (atomic_add_negative(-1, &page->_mapcount)) {
728 if (unlikely(page_mapcount(page) < 0)) {
729 printk (KERN_EMERG "Eeek! page_mapcount(page) went negative! (%d)\n", page_mapcount(page));
730 printk (KERN_EMERG " page pfn = %lx\n", page_to_pfn(page));
731 printk (KERN_EMERG " page->flags = %lx\n", page->flags);
732 printk (KERN_EMERG " page->count = %x\n", page_count(page));
733 printk (KERN_EMERG " page->mapping = %p\n", page->mapping);
734 print_symbol (KERN_EMERG " vma->vm_ops = %s\n", (unsigned long)vma->vm_ops);
735 if (vma->vm_ops) {
736 print_symbol (KERN_EMERG " vma->vm_ops->fault = %s\n", (unsigned long)vma->vm_ops->fault);
737 }
738 if (vma->vm_file && vma->vm_file->f_op)
739 print_symbol (KERN_EMERG " vma->vm_file->f_op->mmap = %s\n", (unsigned long)vma->vm_file->f_op->mmap);
740 BUG();
741 }
742
743 /* 727 /*
744 * Now that the last pte has gone, s390 must transfer dirty 728 * Now that the last pte has gone, s390 must transfer dirty
745 * flag from storage key to struct page. We can usually skip 729 * flag from storage key to struct page. We can usually skip