diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-06-12 06:00:40 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-06-12 06:00:40 +0000 |
commit | 36c9f163c85f5ecb2564ef8159c0d16c25d04121 (patch) | |
tree | d875c3fd10bbbc18e0a3a67484b35c3811fa9f61 /mm | |
parent | 4109e069aea1041db77ddea2a781e0ed088ac064 (diff) |
For a write access make the page not only dirty but also young.
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c index 530a65ca9..4bcf1a74e 100644 --- a/mm/memory.c +++ b/mm/memory.c @@ -856,7 +856,7 @@ static inline void handle_pte_fault(struct task_struct *tsk, if (!write_access) return; if (pte_write(entry)) { - set_pte(pte, pte_mkdirty(entry)); + set_pte(pte, pte_mkdirty(*pte)); flush_tlb_page(vma, address); return; } |