patch-1.3.48 linux/mm/swap.c
Next file: linux/net/netlink.c
Previous file: linux/mm/memory.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Fri Dec 15 07:31:39 1995
- Orig file:
v1.3.47/linux/mm/swap.c
- Orig date:
Wed Dec 13 09:02:47 1995
diff -u --recursive --new-file v1.3.47/linux/mm/swap.c linux/mm/swap.c
@@ -457,7 +457,7 @@
return 0;
vma->vm_mm->rss--;
set_pte(page_table, __pte(entry));
- invalidate_page(vma->vm_mm, address);
+ invalidate_page(vma, address);
tsk->nswap++;
write_swap_page(entry, (char *) page);
}
@@ -472,13 +472,13 @@
}
vma->vm_mm->rss--;
set_pte(page_table, __pte(entry));
- invalidate_page(vma->vm_mm, address);
+ invalidate_page(vma, address);
free_page(page);
return 1;
}
vma->vm_mm->rss--;
pte_clear(page_table);
- invalidate_page(vma->vm_mm, address);
+ invalidate_page(vma, address);
entry = mem_map[MAP_NR(page)].count;
free_page(page);
return entry;
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