summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch')
-rw-r--r--meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch13
1 files changed, 7 insertions, 6 deletions
diff --git a/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch b/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
index 0926a110e0..8db47bca78 100644
--- a/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
+++ b/meta/recipes-core/glibc/glibc/0004-nativesdk-glibc-Allow-64-bit-atomics-for-x86.patch
@@ -1,22 +1,23 @@
1From 0b95f34207ffed3aa53fa949662bfbccc7c864a4 Mon Sep 17 00:00:00 2001 1From 8fe1b56180c30d237cc2ab9a5a9c97a0311f41da Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 31 Dec 2015 14:35:35 -0800 3Date: Thu, 31 Dec 2015 14:35:35 -0800
4Subject: [PATCH 04/26] nativesdk-glibc: Allow 64 bit atomics for x86 4Subject: [PATCH 04/25] nativesdk-glibc: Allow 64 bit atomics for x86
5 5
6The fix consist of allowing 64bit atomic ops for x86. 6The fix consist of allowing 64bit atomic ops for x86.
7This should be safe for i586 and newer CPUs. 7This should be safe for i586 and newer CPUs.
8It also makes the synchronization more efficient. 8It also makes the synchronization more efficient.
9 9
10Upstream-Status: Inappropriate [OE-Specific]
11
10Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> 12Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
11Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> 13Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12Signed-off-by: Khem Raj <raj.khem@gmail.com> 14Signed-off-by: Khem Raj <raj.khem@gmail.com>
13Upstream-Status: Pending
14--- 15---
15 sysdeps/i386/atomic-machine.h | 2 +- 16 sysdeps/i386/atomic-machine.h | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-) 17 1 file changed, 1 insertion(+), 1 deletion(-)
17 18
18diff --git a/sysdeps/i386/atomic-machine.h b/sysdeps/i386/atomic-machine.h 19diff --git a/sysdeps/i386/atomic-machine.h b/sysdeps/i386/atomic-machine.h
19index ce62b33..4fe44ea 100644 20index 0e24200617..1532f52dec 100644
20--- a/sysdeps/i386/atomic-machine.h 21--- a/sysdeps/i386/atomic-machine.h
21+++ b/sysdeps/i386/atomic-machine.h 22+++ b/sysdeps/i386/atomic-machine.h
22@@ -54,7 +54,7 @@ typedef uintmax_t uatomic_max_t; 23@@ -54,7 +54,7 @@ typedef uintmax_t uatomic_max_t;
@@ -26,8 +27,8 @@ index ce62b33..4fe44ea 100644
26-#define __HAVE_64B_ATOMICS 0 27-#define __HAVE_64B_ATOMICS 0
27+#define __HAVE_64B_ATOMICS 1 28+#define __HAVE_64B_ATOMICS 1
28 #define USE_ATOMIC_COMPILER_BUILTINS 0 29 #define USE_ATOMIC_COMPILER_BUILTINS 0
29 30 #define ATOMIC_EXCHANGE_USES_CAS 0
30 31
31-- 32--
322.10.2 332.13.2
33 34