patches/linux/2.4.26/linux-2.4.26-allow-gcc-3.4-arm-kernel.patch
changeset 1 eeea35fbf182
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/linux/2.4.26/linux-2.4.26-allow-gcc-3.4-arm-kernel.patch	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,23 @@
     1.4 +Fixes
     1.5 +semaphore.c:180:5: missing terminating " character
     1.6 +semaphore.c:213:9: missing terminating " character
     1.7 +make[1]: *** [semaphore.o] Error 1
     1.8 +make[1]: Leaving directory `/home/dank/queue/jobdir.fast/crosstool-dev/build/arm-unknown-linux-gnu/gcc-3.3.4-glibc-2.2.5/linux-2.4.26/arch/arm/kernel'
     1.9 +make: *** [_dir_arch/arm/kernel] Error 2
    1.10 +
    1.11 +when building kernel.org 2.4.26 for arm with gcc-3.3.x
    1.12 +(Note: one probably wants to apply ftp://ftp.arm.linux.org.uk/pub/armlinux/source/kernel-patches/v2.4/patch-2.4.26-vrs1.bz2
    1.13 +instead of my patches when really building 2.4.26 for arm;
    1.14 +my patches only include the bare minimum to get the vanilla kernel to compile.)
    1.15 +
    1.16 +--- linux-2.4.26/arch/arm/kernel/semaphore.c.old	Mon Mar 21 06:50:38 2005
    1.17 ++++ linux-2.4.26/arch/arm/kernel/semaphore.c	Mon Mar 21 06:50:55 2005
    1.18 +@@ -193,7 +193,7 @@
    1.19 + 	bl	__down_interruptible		\n\
    1.20 + 	mov	ip, r0				\n\
    1.21 + 	ldmfd	sp!, {r0 - r3, pc}^		\n\
    1.22 +-
    1.23 ++						\n\
    1.24 + 	.align	5				\n\
    1.25 + 	.globl	__down_trylock_failed		\n\
    1.26 + __down_trylock_failed:				\n\