summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/qemu/qemu-0.14.0/Detect-and-use-GCC-atomic-builtins-for-locking.patch
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-02-23 15:31:30 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-24 17:01:37 +0000
commitd242e637a2b5101985befd93d3b560f17b37504b (patch)
tree537ba5b6f5916789a5d6d0292f347be49cc31536 /meta/recipes-devtools/qemu/qemu-0.14.0/Detect-and-use-GCC-atomic-builtins-for-locking.patch
parent506e4c9b05d61f126fff112d7c111902d5c9fac5 (diff)
downloadopenembedded-core-d242e637a2b5101985befd93d3b560f17b37504b.tar.gz
openembedded-core-d242e637a2b5101985befd93d3b560f17b37504b.tar.bz2
openembedded-core-d242e637a2b5101985befd93d3b560f17b37504b.tar.xz
openembedded-core-d242e637a2b5101985befd93d3b560f17b37504b.zip
qemu: remove version 0.14.0
0.15.1 has been available in OE-Core for some time and has demonstrated no major regressions, so remove the older version. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-0.14.0/Detect-and-use-GCC-atomic-builtins-for-locking.patch')
-rw-r--r--meta/recipes-devtools/qemu/qemu-0.14.0/Detect-and-use-GCC-atomic-builtins-for-locking.patch86
1 files changed, 0 insertions, 86 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-0.14.0/Detect-and-use-GCC-atomic-builtins-for-locking.patch b/meta/recipes-devtools/qemu/qemu-0.14.0/Detect-and-use-GCC-atomic-builtins-for-locking.patch
deleted file mode 100644
index eb107b849..000000000
--- a/meta/recipes-devtools/qemu/qemu-0.14.0/Detect-and-use-GCC-atomic-builtins-for-locking.patch
+++ /dev/null
@@ -1,86 +0,0 @@
-From de01f17a2cb88dc5ff53cc321342b888c33b120a Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Lo=C3=AFc=20Minier?= <lool@dooz.org>
-Date: Thu, 11 Feb 2010 17:42:33 +0100
-Subject: [PATCH] Detect and use GCC atomic builtins for locking
-
----
- configure | 17 +++++++++++++++++
- qemu-lock.h | 13 +++++++++++++
- 2 files changed, 30 insertions(+), 0 deletions(-)
-
-Upstream-Status: Pending
-
-Index: qemu-0.14.0/configure
-===================================================================
---- qemu-0.14.0.orig/configure
-+++ qemu-0.14.0/configure
-@@ -2243,6 +2243,20 @@ fi
- ##########################################
-
- ##########################################
-+# check if we have gcc atomic built-ins
-+gcc_atomic_builtins=no
-+cat > $TMPC << EOF
-+int main(void) {
-+ int i;
-+ __sync_lock_test_and_set(&i, 1);
-+ __sync_lock_release(&i);
-+}
-+EOF
-+if compile_prog "" ""; then
-+ gcc_atomic_builtins=yes
-+fi
-+
-+##########################################
- # check if we have fdatasync
-
- fdatasync=no
-@@ -2731,6 +2745,9 @@ fi
- if test "$gcc_attribute_warn_unused_result" = "yes" ; then
- echo "CONFIG_GCC_ATTRIBUTE_WARN_UNUSED_RESULT=y" >> $config_host_mak
- fi
-+if test "$gcc_atomic_builtins" = "yes" ; then
-+ echo "CONFIG_GCC_ATOMIC_BUILTINS=y" >> $config_host_mak
-+fi
- if test "$fdatasync" = "yes" ; then
- echo "CONFIG_FDATASYNC=y" >> $config_host_mak
- fi
-Index: qemu-0.14.0/qemu-lock.h
-===================================================================
---- qemu-0.14.0.orig/qemu-lock.h
-+++ qemu-0.14.0/qemu-lock.h
-@@ -33,6 +33,14 @@
-
- #else
-
-+#ifdef CONFIG_GCC_ATOMIC_BUILTINS
-+typedef int spinlock_t;
-+
-+#define SPIN_LOCK_UNLOCKED 0
-+
-+#define resetlock(p) __sync_lock_release((p))
-+#else /* CONFIG_GCC_ATOMIC_BUILTINS */
-+
- #if defined(__hppa__)
-
- typedef int spinlock_t[4];
-@@ -56,7 +64,11 @@ static inline void resetlock (spinlock_t
- }
-
- #endif
-+#endif /* !CONFIG_GCC_ATOMIC_BUILTINS */
-
-+#ifdef CONFIG_GCC_ATOMIC_BUILTINS
-+#define testandset(p) __sync_lock_test_and_set((p), 1)
-+#else /* CONFIG_GCC_ATOMIC_BUILTINS */
- #if defined(_ARCH_PPC)
- static inline int testandset (int *p)
- {
-@@ -213,6 +225,7 @@ static inline int testandset (int *p)
- #else
- #error unimplemented CPU support
- #endif
-+#endif /* !CONFIG_GCC_ATOMIC_BUILTINS */
-
- #if defined(CONFIG_USER_ONLY)
- static inline void spin_lock(spinlock_t *lock)