summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.10/0048-avr32-select-generic-atomic64_t-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.10/0048-avr32-select-generic-atomic64_t-support.patch')
-rw-r--r--recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.10/0048-avr32-select-generic-atomic64_t-support.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.10/0048-avr32-select-generic-atomic64_t-support.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.10/0048-avr32-select-generic-atomic64_t-support.patch
new file mode 100644
index 00000000..418f85ea
--- /dev/null
+++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.10/0048-avr32-select-generic-atomic64_t-support.patch
@@ -0,0 +1,37 @@
1From dec8d0e38f5a0d8d9a60f59dfac4edec01c60d5e Mon Sep 17 00:00:00 2001
2From: Fabio Baltieri <fabio.baltieri@gmail.com>
3Date: Fri, 3 Feb 2012 15:37:14 -0800
4Subject: [PATCH 48/95] avr32: select generic atomic64_t support
5
6commit 31e0017e6f6fb5cfdfaf932c1f98c9bef8d57688 upstream.
7
8Enable use of the generic atomic64 implementation on AVR32 platforms.
9Without this the kernel fails to build as the architecture does not
10provide its version.
11
12Signed-off-by: Fabio Baltieri <fabio.baltieri@gmail.com>
13Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no>
14Cc: Haavard Skinnemoen <hskinnemoen@gmail.com>
15Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
16Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
17Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
18Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
19---
20 arch/avr32/Kconfig | 1 +
21 1 file changed, 1 insertion(+)
22
23diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig
24index 197e96f..3dea7231 100644
25--- a/arch/avr32/Kconfig
26+++ b/arch/avr32/Kconfig
27@@ -8,6 +8,7 @@ config AVR32
28 select HAVE_KPROBES
29 select HAVE_GENERIC_HARDIRQS
30 select GENERIC_IRQ_PROBE
31+ select GENERIC_ATOMIC64
32 select HARDIRQS_SW_RESEND
33 select GENERIC_IRQ_SHOW
34 select ARCH_HAVE_NMI_SAFE_CMPXCHG
35--
361.7.9.4
37