projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Light weight event counters
[linux-2.6-block.git]
/
fs
/
ncpfs
/
mmap.c
diff --git
a/fs/ncpfs/mmap.c
b/fs/ncpfs/mmap.c
index 52d60c3d8996210dac419106b1dc7862a6fb8856..e7d5a3097fe60d2ff05dc4d0a1fc28ba9683d867 100644
(file)
--- a/
fs/ncpfs/mmap.c
+++ b/
fs/ncpfs/mmap.c
@@
-93,7
+93,7
@@
static struct page* ncp_file_mmap_nopage(struct vm_area_struct *area,
*/
if (type)
*type = VM_FAULT_MAJOR;
-
inc_page_state(pgmajfault
);
+
count_vm_event(PGMAJFAULT
);
return page;
}