diff -urpN linux-2.6.11.12/arch/arm/boot/compressed/little-endian.S linux-2.6.11.12-le2/arch/arm/boot/compressed/little-endian.S --- linux-2.6.11.12/arch/arm/boot/compressed/little-endian.S 1970-01-01 01:00:00.000000000 +0100 +++ linux-2.6.11.12-le2/arch/arm/boot/compressed/little-endian.S 2005-07-17 12:13:55.000000000 +0200 @@ -0,0 +1,13 @@ +/* + * linux/arch/arm/boot/compressed/little-endian.S + * + * Switch CPU into little endian mode. + * Author: Nicolas Pitre + */ + + .section ".start", #alloc, #execinstr + + mrc p15, 0, r0, c1, c0, 0 @ read control reg + bic r0, r0, #(1 << 7) @ enable little endian mode + mcr p15, 0, r0, c1, c0, 0 @ write control reg + diff -urpN linux-2.6.11.12/arch/arm/boot/compressed/Makefile linux-2.6.11.12-le2/arch/arm/boot/compressed/Makefile --- linux-2.6.11.12/arch/arm/boot/compressed/Makefile 2005-06-12 04:45:37.000000000 +0200 +++ linux-2.6.11.12-le2/arch/arm/boot/compressed/Makefile 2005-07-17 12:13:55.000000000 +0200 @@ -56,6 +56,8 @@ endif ifeq ($(CONFIG_CPU_BIG_ENDIAN),y) OBJS += big-endian.o +else +OBJS += little-endian.o endif #