diff options
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.patch | 37 |
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 @@ | |||
1 | From dec8d0e38f5a0d8d9a60f59dfac4edec01c60d5e Mon Sep 17 00:00:00 2001 | ||
2 | From: Fabio Baltieri <fabio.baltieri@gmail.com> | ||
3 | Date: Fri, 3 Feb 2012 15:37:14 -0800 | ||
4 | Subject: [PATCH 48/95] avr32: select generic atomic64_t support | ||
5 | |||
6 | commit 31e0017e6f6fb5cfdfaf932c1f98c9bef8d57688 upstream. | ||
7 | |||
8 | Enable use of the generic atomic64 implementation on AVR32 platforms. | ||
9 | Without this the kernel fails to build as the architecture does not | ||
10 | provide its version. | ||
11 | |||
12 | Signed-off-by: Fabio Baltieri <fabio.baltieri@gmail.com> | ||
13 | Acked-by: Hans-Christian Egtvedt <egtvedt@samfundet.no> | ||
14 | Cc: Haavard Skinnemoen <hskinnemoen@gmail.com> | ||
15 | Signed-off-by: Andrew Morton <akpm@linux-foundation.org> | ||
16 | Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> | ||
17 | Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | ||
18 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | ||
19 | --- | ||
20 | arch/avr32/Kconfig | 1 + | ||
21 | 1 file changed, 1 insertion(+) | ||
22 | |||
23 | diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig | ||
24 | index 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 | -- | ||
36 | 1.7.9.4 | ||
37 | |||