patch-1.3.22 linux/fs/proc/mem.c
Next file: linux/fs/select.c
Previous file: linux/fs/proc/inode.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Tue Aug 29 09:42:56 1995
- Orig file:
v1.3.21/linux/fs/proc/mem.c
- Orig date:
Fri Aug 18 08:44:58 1995
diff -u --recursive --new-file v1.3.21/linux/fs/proc/mem.c linux/fs/proc/mem.c
@@ -289,8 +289,8 @@
if ((vma->vm_flags & VM_WRITE) && !pte_write(*src_table))
do_wp_page(src_vma, stmp, 1);
- *src_table = pte_mkdirty(*src_table);
- *dest_table = *src_table;
+ set_pte(src_table, pte_mkdirty(*src_table));
+ set_pte(dest_table, *src_table);
mem_map[MAP_NR(pte_page(*src_table))]++;
stmp += PAGE_SIZE;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this