OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f5486e
)
[PATCH] page_mkclean_one(): fix call to set_pte_at()
author
Al Viro
<viro@ftp.linux.org.uk>
Sat, 30 Dec 2006 00:48:35 +0000
(16:48 -0800)
committer
Linus Torvalds
<torvalds@woody.osdl.org>
Sat, 30 Dec 2006 18:56:42 +0000
(10:56 -0800)
(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>
mm/rmap.c
patch
|
blob
|
history
diff --git
a/mm/rmap.c
b/mm/rmap.c
index
57306fa
..
669acb2
100644
(file)
--- 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;
}