patch-2.2.0-pre3 linux/mm/swap_state.c
Next file: linux/mm/vmscan.c
Previous file: linux/mm/swap.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Thu Dec 31 10:22:15 1998
- Orig file:
v2.2.0-pre2/linux/mm/swap_state.c
- Orig date:
Tue Dec 22 14:16:59 1998
diff -u --recursive --new-file v2.2.0-pre2/linux/mm/swap_state.c linux/mm/swap_state.c
@@ -241,6 +241,7 @@
void free_page_and_swap_cache(unsigned long addr)
{
struct page *page = mem_map + MAP_NR(addr);
+
/*
* If we are the only user, then free up the swap cache.
*/
@@ -248,7 +249,7 @@
delete_from_swap_cache(page);
}
- free_page(addr);
+ __free_page(page);
}
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]