summaryrefslogtreecommitdiff
path: root/meta/packages/qemu/qemu-0.12/workaround_bad_futex_headers.patch
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-05-28 09:13:03 +0100
committerJoshua Lock <josh@linux.intel.com>2010-05-28 15:31:54 +0100
commit32a85c157002874af88a1cd324e1e466bb1df9b6 (patch)
tree9b146de299cd8a4e262becdaeca88b071bc64b44 /meta/packages/qemu/qemu-0.12/workaround_bad_futex_headers.patch
parent3d6e7e7d0c6aed10a859034486191e0b3b69d786 (diff)
downloadopenembedded-core-32a85c157002874af88a1cd324e1e466bb1df9b6.tar.gz
openembedded-core-32a85c157002874af88a1cd324e1e466bb1df9b6.tar.bz2
openembedded-core-32a85c157002874af88a1cd324e1e466bb1df9b6.tar.xz
openembedded-core-32a85c157002874af88a1cd324e1e466bb1df9b6.zip
qemu: reduce duplication, use an inc file and share common patches
There's no need to carry around two copies of the same patches for qemu-git and qemu-0.12 so drop the qemu-git directory and update the git recipe to use the qemu-0.12 directory for patches. Move common code from the two recipes to an inc file. Signed-off-by: Joshua Lock <josh@linux.intel.com> fweh
Diffstat (limited to 'meta/packages/qemu/qemu-0.12/workaround_bad_futex_headers.patch')
-rw-r--r--meta/packages/qemu/qemu-0.12/workaround_bad_futex_headers.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/packages/qemu/qemu-0.12/workaround_bad_futex_headers.patch b/meta/packages/qemu/qemu-0.12/workaround_bad_futex_headers.patch
new file mode 100644
index 000000000..7727a39f3
--- /dev/null
+++ b/meta/packages/qemu/qemu-0.12/workaround_bad_futex_headers.patch
@@ -0,0 +1,24 @@
+---
+ linux-user/syscall.c | 10 +++++++++-
+ 1 file changed, 9 insertions(+), 1 deletion(-)
+
+Index: qemu/linux-user/syscall.c
+===================================================================
+--- qemu.orig/linux-user/syscall.c 2010-05-11 16:52:16.929785275 -0400
++++ qemu/linux-user/syscall.c 2010-05-11 16:52:25.174783517 -0400
+@@ -94,6 +94,15 @@
+ #define CLONE_NPTL_FLAGS2 0
+ #endif
+
++#define FUTEX_WAIT 0
++#define FUTEX_WAKE 1
++#define FUTEX_FD 2
++#define FUTEX_REQUEUE 3
++#define FUTEX_CMP_REQUEUE 4
++#define FUTEX_WAKE_OP 5
++#define FUTEX_LOCK_PI 6
++#define FUTEX_UNLOCK_PI 7
++
+ //#define DEBUG
+
+ //#include <linux/msdos_fs.h>