summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-02-29 14:51:34 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2012-03-12 12:44:33 +0100
commit1c42131ad0887c28284d80bf8216ddc96c09cf09 (patch)
treeb9bf4d16d370958ee4f5deed36decbfb3a03b004
parent8b51e3cfc8f386d1f59fa8f9447ce90428d2a267 (diff)
downloadbuildroot-novena-1c42131ad0887c28284d80bf8216ddc96c09cf09.tar.gz
buildroot-novena-1c42131ad0887c28284d80bf8216ddc96c09cf09.zip
avr32/defconfig: use current stable kernel instead of the old 2.6.35
Drop the patch for kernel >= 3.3 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--configs/atngw100_defconfig4
-rw-r--r--linux/linux-3.2.5-0001-avr32-select-generic-atomic64_t-support.patch33
2 files changed, 34 insertions, 3 deletions
diff --git a/configs/atngw100_defconfig b/configs/atngw100_defconfig
index 5373b4499..57e39bd62 100644
--- a/configs/atngw100_defconfig
+++ b/configs/atngw100_defconfig
@@ -18,7 +18,5 @@ BR2_TARGET_UBOOT_2010_09=y
# Kernel
BR2_LINUX_KERNEL=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="2.6.35"
-BR2_LINUX_KERNEL_USE_DEFCONFIG=y
+BR2_LINUX_KERNEL_PATCH="linux/linux-3.2.5-0001-avr32-select-generic-atomic64_t-support.patch"
BR2_LINUX_KERNEL_DEFCONFIG="atngw100"
diff --git a/linux/linux-3.2.5-0001-avr32-select-generic-atomic64_t-support.patch b/linux/linux-3.2.5-0001-avr32-select-generic-atomic64_t-support.patch
new file mode 100644
index 000000000..95f2cf978
--- /dev/null
+++ b/linux/linux-3.2.5-0001-avr32-select-generic-atomic64_t-support.patch
@@ -0,0 +1,33 @@
+From 31e0017e6f6fb5cfdfaf932c1f98c9bef8d57688 Mon Sep 17 00:00:00 2001
+From: Fabio Baltieri <fabio.baltieri@gmail.com>
+Date: Fri, 3 Feb 2012 15:37:14 -0800
+Subject: [PATCH 1/1] avr32: select generic atomic64_t support
+
+Enable use of the generic atomic64 implementation on AVR32 platforms.
+Without this the kernel fails to build as the architecture does not
+provide its version.
+
+Signed-off-by: Fabio Baltieri <fabio.baltieri@gmail.com>
+Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
+Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
+Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
+Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
+---
+ arch/avr32/Kconfig | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig
+index 197e96f..3dea7231 100644
+--- a/arch/avr32/Kconfig
++++ b/arch/avr32/Kconfig
+@@ -8,6 +8,7 @@ config AVR32
+ select HAVE_KPROBES
+ select HAVE_GENERIC_HARDIRQS
+ select GENERIC_IRQ_PROBE
++ select GENERIC_ATOMIC64
+ select HARDIRQS_SW_RESEND
+ select GENERIC_IRQ_SHOW
+ select ARCH_HAVE_NMI_SAFE_CMPXCHG
+--
+1.7.7
+