diff options
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu-0.12.4/workaround_bad_futex_headers.patch')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu-0.12.4/workaround_bad_futex_headers.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-0.12.4/workaround_bad_futex_headers.patch b/meta/recipes-devtools/qemu/qemu-0.12.4/workaround_bad_futex_headers.patch new file mode 100644 index 0000000000..7727a39f37 --- /dev/null +++ b/meta/recipes-devtools/qemu/qemu-0.12.4/workaround_bad_futex_headers.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | --- | ||
2 | linux-user/syscall.c | 10 +++++++++- | ||
3 | 1 file changed, 9 insertions(+), 1 deletion(-) | ||
4 | |||
5 | Index: qemu/linux-user/syscall.c | ||
6 | =================================================================== | ||
7 | --- qemu.orig/linux-user/syscall.c 2010-05-11 16:52:16.929785275 -0400 | ||
8 | +++ qemu/linux-user/syscall.c 2010-05-11 16:52:25.174783517 -0400 | ||
9 | @@ -94,6 +94,15 @@ | ||
10 | #define CLONE_NPTL_FLAGS2 0 | ||
11 | #endif | ||
12 | |||
13 | +#define FUTEX_WAIT 0 | ||
14 | +#define FUTEX_WAKE 1 | ||
15 | +#define FUTEX_FD 2 | ||
16 | +#define FUTEX_REQUEUE 3 | ||
17 | +#define FUTEX_CMP_REQUEUE 4 | ||
18 | +#define FUTEX_WAKE_OP 5 | ||
19 | +#define FUTEX_LOCK_PI 6 | ||
20 | +#define FUTEX_UNLOCK_PI 7 | ||
21 | + | ||
22 | //#define DEBUG | ||
23 | |||
24 | //#include <linux/msdos_fs.h> | ||