projects
/
cascardo
/
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
[cascardo/linux.git]
/
arch
/
mips
/
mm
/
gup.c
diff --git
a/arch/mips/mm/gup.c
b/arch/mips/mm/gup.c
index
1afd87c
..
6cdffc7
100644
(file)
--- a/
arch/mips/mm/gup.c
+++ b/
arch/mips/mm/gup.c
@@
-64,7
+64,7
@@
static inline void get_head_page_multiple(struct page *page, int nr)
{
VM_BUG_ON(page != compound_head(page));
VM_BUG_ON(page_count(page) == 0);
-
atomic_add(nr, &page->_count
);
+
page_ref_add(page, nr
);
SetPageReferenced(page);
}