enable llsc for 7405
authorghost <andreas.monzner@multimedia-labs.de>
Tue, 16 Jun 2009 20:20:54 +0000 (22:20 +0200)
committerghost <andreas.monzner@multimedia-labs.de>
Tue, 16 Jun 2009 20:20:54 +0000 (22:20 +0200)
packages/linux/linux-dm8000.bb
packages/linux/linux-dm8000/linux-2.6.12-7405-enable-llsc.patch [new file with mode: 0644]

index 17ec2b2..f1aae08 100644 (file)
@@ -32,7 +32,8 @@ SRC_URI += "ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-${KV}.tar.bz2 \
        file://linux-2.6.12-fixup-memsize.patch;patch=1;pnum=1 \
        http://trappist.elis.ugent.be/~mronsse/cdfs/download/cdfs-2.6.12.tar.bz2"
 
-SRC_URI_append_dm500hd = " file://linux-2.6.12-dm500hd-misc.patch;patch=1;pnum=1"
+SRC_URI_append_dm500hd = " file://linux-2.6.12-dm500hd-misc.patch;patch=1;pnum=1 \
+       file://linux-2.6.12-7405-enable-llsc.patch;patch=1;pnum=1"
 
 S = "${WORKDIR}/stblinux-2.6.12"
 
diff --git a/packages/linux/linux-dm8000/linux-2.6.12-7405-enable-llsc.patch b/packages/linux/linux-dm8000/linux-2.6.12-7405-enable-llsc.patch
new file mode 100644 (file)
index 0000000..cb49f08
--- /dev/null
@@ -0,0 +1,14 @@
+diff -Naur stblinux-2.6.12-org/arch/mips/Makefile stblinux-2.6.12/arch/mips/Makefile
+--- stblinux-2.6.12-org/arch/mips/Makefile     2009-01-23 21:01:31.000000000 +0100
++++ stblinux-2.6.12/arch/mips/Makefile 2009-01-23 21:03:12.000000000 +0100
+@@ -889,9 +889,8 @@
+ core-$(CONFIG_MIPS_BCM7405A0) += arch/mips/brcmstb/brcm97405a0/
+ core-$(CONFIG_MIPS_BCM7405A0) += arch/mips/brcmstb/common/
+ load-$(CONFIG_MIPS_BCM7405A0) := 0x80001000
+-ifdef CONFIG_SMP
++
+ cflags-$(CONFIG_MIPS_BCM7405A0)       += -Iinclude/asm-mips/mach-brcmstb
+-endif
+ #
+ #