patch-2.2.14 linux/arch/ppc/coffboot/main.c

Next file: linux/arch/ppc/common_defconfig
Previous file: linux/arch/ppc/chrpboot/string.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.13/linux/arch/ppc/coffboot/main.c linux/arch/ppc/coffboot/main.c
@@ -100,7 +100,7 @@
 
     flush_cache(dst, len);
 
-    sa = *(unsigned *)dst + PROG_START;
+    sa = (unsigned long)dst;
     printf("start address = 0x%x\n", sa);
 
 #if 0
@@ -165,7 +165,6 @@
 	printf("gunzip: ran out of data in header\n");
 	exit();
     }
-
     s.zalloc = zalloc;
     s.zfree = zfree;
     r = inflateInit2(&s, -MAX_WBITS);

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