patch-2.4.22 linux-2.4.22/arch/arm/mm/small_page.c

Next file: linux-2.4.22/arch/arm/nwfpe/ChangeLog
Previous file: linux-2.4.22/arch/arm/mm/proc-sa110.S
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/arm/mm/small_page.c linux-2.4.22/arch/arm/mm/small_page.c
@@ -150,8 +150,8 @@
 	unsigned long flags;
 	struct page *page;
 
-	page = virt_to_page(spage);
-	if (VALID_PAGE(page)) {
+	if (virt_addr_valid(spage)) {
+		page = virt_to_page(spage);
 
 		/*
 		 * The container-page must be marked Reserved

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)