summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc/use_64bit_atomics.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/glibc/glibc/use_64bit_atomics.patch')
-rw-r--r--meta/recipes-core/glibc/glibc/use_64bit_atomics.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/recipes-core/glibc/glibc/use_64bit_atomics.patch b/meta/recipes-core/glibc/glibc/use_64bit_atomics.patch
deleted file mode 100644
index 16d7698207..0000000000
--- a/meta/recipes-core/glibc/glibc/use_64bit_atomics.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1This patch alows using 64 bit atomic instructions on a
232 bit platform. This is safe, providing x86 is Pentium or
3later (would not work on i386, i486). Using 64 bit atomic
4instructions bypasses code containing a bug as documented in
5https://bugzilla.yoctoproject.org/show_bug.cgi?id=8140
6
7Upstream-Status: Pending
8
9Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
10
11
12Index: libc/sysdeps/i386/i486/bits/atomic.h
13===================================================================
14--- libc.orig/sysdeps/i386/i486/bits/atomic.h
15+++ libc/sysdeps/i386/i486/bits/atomic.h
16@@ -54,7 +54,7 @@ typedef uintmax_t uatomic_max_t;
17 # endif
18 #endif
19
20-#define __HAVE_64B_ATOMICS 0
21+#define __HAVE_64B_ATOMICS 1
22 #define USE_ATOMIC_COMPILER_BUILTINS 0
23
24