patch-2.1.115 linux/arch/m68k/mm/memory.c

Next file: linux/arch/mips/boot/Makefile
Previous file: linux/arch/m68k/mm/init.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.114/linux/arch/m68k/mm/memory.c linux/arch/m68k/mm/memory.c
@@ -161,7 +161,7 @@
 	return pmdp;
 }
 
-void free_pointer_table (pmd_t *ptable)
+int free_pointer_table (pmd_t *ptable)
 {
 	struct ptable_desc *dp;
 	unsigned long page = (unsigned long)ptable & PAGE_MASK;
@@ -189,7 +189,7 @@
 		cache_page (dp->page);
 		free_page (dp->page);
 		kfree (dp);
-		return;
+		return 1;
 	} else {
 		/*
 		 * move this descriptor to the front of the list, since
@@ -205,6 +205,7 @@
 		ptable_list.next->prev = dp;
 		ptable_list.next = dp;
 		restore_flags(flags);
+		return 0;
 	}
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov