summaryrefslogtreecommitdiff
path: root/mm/rmap.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2006-12-29 16:48:35 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-30 10:56:42 -0800
commitd6e88e671ac12888df2d533dd4ddef705431a32a (patch)
tree741d6491104adba00e4d45fe14081b175de947b7 /mm/rmap.c
parent0f5486ecf7d510595c2af630aae31ed5846bdbeb (diff)
downloadlinux-rpi-d6e88e671ac12888df2d533dd4ddef705431a32a.tar.gz
linux-rpi-d6e88e671ac12888df2d533dd4ddef705431a32a.tar.bz2
linux-rpi-d6e88e671ac12888df2d533dd4ddef705431a32a.zip
[PATCH] page_mkclean_one(): fix call to set_pte_at()
(akpm: macros are wonderful) Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/rmap.c')
-rw-r--r--mm/rmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/rmap.c b/mm/rmap.c
index 57306fa0114d..669acb22b572 100644
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -452,7 +452,7 @@ static int page_mkclean_one(struct page *page, struct vm_area_struct *vma)
entry = ptep_clear_flush(vma, address, pte);
entry = pte_wrprotect(entry);
entry = pte_mkclean(entry);
- set_pte_at(vma, address, pte, entry);
+ set_pte_at(mm, address, pte, entry);
lazy_mmu_prot_update(entry);
ret = 1;
}