patch-2.3.39 linux/arch/sparc/ap1000/apmmu.c

Next file: linux/arch/sparc/kernel/etrap.S
Previous file: linux/arch/ppc/xmon/start.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.38/linux/arch/sparc/ap1000/apmmu.c linux/arch/sparc/ap1000/apmmu.c
@@ -907,8 +907,8 @@
 		make_large_page((KERNBASE+phys)>>12,
 				(phys>>12),
 				APMMU_CACHE|APMMU_PRIV|APMMU_VALID);
-	init_mm.mmap->vm_start = page_offset = KERNBASE;
-	stack_top = page_offset - PAGE_SIZE;
+	init_mm.mmap->vm_start = PAGE_OFFSET;
+	stack_top = PAGE_OFFSET - PAGE_SIZE;
 }
 
 extern unsigned long free_area_init(unsigned long, unsigned long);

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