patch-2.4.22 linux-2.4.22/arch/arm/boot/compressed/head-l7200.S

Next file: linux-2.4.22/arch/arm/boot/compressed/head-netwinder.S
Previous file: linux-2.4.22/arch/arm/boot/compressed/head-integrator.S
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/arm/boot/compressed/head-l7200.S linux-2.4.22/arch/arm/boot/compressed/head-l7200.S
@@ -8,12 +8,13 @@
  */
 
 #include <linux/config.h>
+#include <asm/mach-types.h>
 
 #ifndef CONFIG_ARCH_L7200
 #error What am I doing here...
 #endif
 
-		.section        ".start", #alloc, #execinstr
+		.section        ".start", "ax"
 
 __L7200_start:
 		mov	r0, #0x00100000		@ FLASH address of initrd
@@ -26,4 +27,4 @@
 		ble	1b
 
 		mov	r8, #0			@ Zero it out
-		mov	r7, #19			@ Set architecture ID
+		mov	r7, #MACH_TYPE_L7200	@ Set architecture ID

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