[avr32] select GENERIC_ATOMIC64 implementation to fix xfs related build errors
[openwrt.git] / toolchain / uClibc / patches-0.9.32 / 940-include_arm-asm.h.patch
1 The check for __USE_BX__ will be available in bits/arm_asm.h,
2 so the latter must be included wherever the former is used.
3
4 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
5 Cc: Khem Raj <raj.khem@gmail.com>
6 Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
7 Cc: Carmelo AMOROSO <carmelo.amoroso@st.com>
8 ---
9 ldso/ldso/arm/dl-startup.h | 1 +
10 libc/sysdeps/linux/arm/sysdep.h | 1 +
11 2 files changed, 2 insertions(+), 0 deletions(-)
12
13 --- a/ldso/ldso/arm/dl-startup.h
14 +++ b/ldso/ldso/arm/dl-startup.h
15 @@ -7,6 +7,7 @@
16 */
17
18 #include <features.h>
19 +#include <bits/arm_asm.h>
20
21 #if !defined(__thumb__)
22 __asm__(
23 --- a/libc/sysdeps/linux/arm/sysdep.h
24 +++ b/libc/sysdeps/linux/arm/sysdep.h
25 @@ -21,6 +21,7 @@
26 #define _LINUX_ARM_SYSDEP_H 1
27
28 #include <common/sysdep.h>
29 +#include <bits/arm_asm.h>
30
31 #include <sys/syscall.h>
32 /* For Linux we can use the system call table in the header file
This page took 0.047621 seconds and 5 git commands to generate.