projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mm: introduce page reference manipulation functions
[deliverable/linux.git]
/
arch
/
x86
/
mm
/
gup.c
diff --git
a/arch/x86/mm/gup.c
b/arch/x86/mm/gup.c
index d8a798d8bf50ac037fa2ac4854085bd78759c249..f8d0b5e8bdfd891c0a184e5604b5301238fdbc23 100644
(file)
--- a/
arch/x86/mm/gup.c
+++ b/
arch/x86/mm/gup.c
@@
-131,7
+131,7
@@
static inline void get_head_page_multiple(struct page *page, int nr)
{
VM_BUG_ON_PAGE(page != compound_head(page), page);
VM_BUG_ON_PAGE(page_count(page) == 0, page);
-
atomic_add(nr, &page->_count
);
+
page_ref_add(page, nr
);
SetPageReferenced(page);
}
This page took
0.02471 seconds
and
5
git commands to generate.