[PATCH] mm: vm_stat_account unshackled
[linux-2.6-block.git] / mm / mprotect.c
index 57577f63b305e6a50fd0e9a2861dd2888a62dd77..b426f01c5e9cdb0329657076d8a2e8908e3e015a 100644 (file)
@@ -168,8 +168,8 @@ success:
        vma->vm_flags = newflags;
        vma->vm_page_prot = newprot;
        change_protection(vma, start, end, newprot);
-       __vm_stat_account(mm, oldflags, vma->vm_file, -nrpages);
-       __vm_stat_account(mm, newflags, vma->vm_file, nrpages);
+       vm_stat_account(mm, oldflags, vma->vm_file, -nrpages);
+       vm_stat_account(mm, newflags, vma->vm_file, nrpages);
        return 0;
 
 fail: