patch-1.3.48 linux/arch/alpha/mm/init.c
Next file: linux/arch/i386/boot/compressed/Makefile
Previous file: linux/arch/alpha/mm/fault.c
Back to the patch index
Back to the overall index
-  Lines: 22
 -  Date:
Fri Dec 15 07:31:30 1995
 -  Orig file: 
v1.3.47/linux/arch/alpha/mm/init.c
 -  Orig date: 
Sun Oct 29 11:38:48 1995
 
diff -u --recursive --new-file v1.3.47/linux/arch/alpha/mm/init.c linux/arch/alpha/mm/init.c
@@ -50,12 +50,6 @@
 	return pte_mkdirty(mk_pte((unsigned long) EMPTY_PGE, PAGE_SHARED));
 }
 
-unsigned long __zero_page(void)
-{
-	memset((void *) ZERO_PGE, 0, PAGE_SIZE);
-	return (unsigned long) ZERO_PGE;
-}
-
 void show_mem(void)
 {
 	int i,free = 0,total = 0,reserved = 0;
@@ -131,7 +125,7 @@
 
 	/* unmap the console stuff: we don't need it, and we don't want it */
 	/* Also set up the real kernel PCB while we're at it.. */
-	memset((void *) ZERO_PGE, 0, PAGE_SIZE);
+	memset((void *) ZERO_PAGE, 0, PAGE_SIZE);
 	memset(swapper_pg_dir, 0, PAGE_SIZE);
 	newptbr = ((unsigned long) swapper_pg_dir - PAGE_OFFSET) >> PAGE_SHIFT;
 	pgd_val(swapper_pg_dir[1023]) = (newptbr << 32) | pgprot_val(PAGE_KERNEL);
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