patch-2.1.79 linux/arch/ppc/boot/head.S

Next file: linux/arch/ppc/boot/inflate.c
Previous file: linux/arch/ppc/boot/gzip.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.78/linux/arch/ppc/boot/head.S linux/arch/ppc/boot/head.S
@@ -46,8 +46,13 @@
 	mr	r8,r3
 	lis	r4,start@h
 	ori	r4,r4,start@l
+#if 0	
 	lis	r5,edata@h
 	ori	r5,r5,edata@l
+#else
+	lis	r5,end@h
+	ori	r5,r5,end@l
+#endif		
 	addi	r5,r5,3			/* Round up - just in case */
 	sub	r5,r5,r4		/* Compute # longwords to move */
 	srwi	r5,r5,2

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