patch-2.3.99-pre4 linux/mm/memory.c
Next file: linux/mm/numa.c
Previous file: linux/mm/filemap.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Mon Apr  3 16:29:15 2000
-  Orig file: 
v2.3.99-pre3/linux/mm/memory.c
-  Orig date: 
Mon Mar 27 08:08:33 2000
diff -u --recursive --new-file v2.3.99-pre3/linux/mm/memory.c linux/mm/memory.c
@@ -1053,7 +1053,7 @@
 
 	pte = mk_pte(page, vma->vm_page_prot);
 
-	set_bit(PG_swap_entry, &page->flags);
+	SetPageSwapEntry(page);
 
 	/*
 	 * Freeze the "shared"ness of the page, ie page_count + swap_count.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)