From c8af05547ed94a700da3475a77ccf243d1b94da8 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Thu, 23 Feb 2012 15:31:30 +0000 Subject: 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. (From OE-Core rev: d242e637a2b5101985befd93d3b560f17b37504b) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- ...t-and-use-GCC-atomic-builtins-for-locking.patch | 86 ---------------------- 1 file changed, 86 deletions(-) delete mode 100644 meta/recipes-devtools/qemu/qemu-0.14.0/Detect-and-use-GCC-atomic-builtins-for-locking.patch (limited to 'meta/recipes-devtools/qemu/qemu-0.14.0/Detect-and-use-GCC-atomic-builtins-for-locking.patch') 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 eb107b8497..0000000000 --- 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?= -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) -- cgit v1.2.3-54-g00ecf