patch-2.4.9 linux/arch/arm/kernel/head-armv.S

Next file: linux/arch/arm/kernel/irq-arch.c
Previous file: linux/arch/arm/kernel/entry-header.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/arch/arm/kernel/head-armv.S linux/arch/arm/kernel/head-armv.S
@@ -248,12 +248,12 @@
 		/*
 		 * Ensure that the first section of RAM is present.
 		 * we assume that:
-		 *  1. the RAM is aligned to a 256MB boundary
-		 *  2. the kernel is executing in the same 256MB chunk
+		 *  1. the RAM is aligned to a 32MB boundary
+		 *  2. the kernel is executing in the same 32MB chunk
 		 *     as the start of RAM.
 		 */
-		bic	r0, r0, #0x0ff00000 >> 18	@ round down
-		and	r2, r5, #0xf0000000		@ round down
+		bic	r0, r0, #0x01f00000 >> 18	@ round down
+		and	r2, r5, #0xfe000000		@ round down
 		add	r3, r8, r2			@ flags + rambase
 		str	r3, [r0]
 

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