diff options
| author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-04-23 10:40:00 +0000 |
|---|---|---|
| committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-04-23 10:40:00 +0000 |
| commit | b37a06703c214768619cc2816ae3af34bf6a7511 (patch) | |
| tree | 72efae4280a66a7aa813fb072b76f8ceb84f797d /meta/packages/qemu/qemu-0.9.1+svn/fix_segfault.patch | |
| parent | a2513fb4c43954296aab493312bb6dbd8299c4c9 (diff) | |
| download | poky-b37a06703c214768619cc2816ae3af34bf6a7511.tar.gz | |
qemu: added SVN recipes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4322 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/qemu/qemu-0.9.1+svn/fix_segfault.patch')
| -rw-r--r-- | meta/packages/qemu/qemu-0.9.1+svn/fix_segfault.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/packages/qemu/qemu-0.9.1+svn/fix_segfault.patch b/meta/packages/qemu/qemu-0.9.1+svn/fix_segfault.patch new file mode 100644 index 0000000000..443c330650 --- /dev/null +++ b/meta/packages/qemu/qemu-0.9.1+svn/fix_segfault.patch | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | --- | ||
| 2 | linux-user/syscall.c | 22 ---------------------- | ||
| 3 | 1 file changed, 22 deletions(-) | ||
| 4 | |||
| 5 | Index: qemu/linux-user/syscall.c | ||
| 6 | =================================================================== | ||
| 7 | --- qemu.orig/linux-user/syscall.c 2007-12-03 23:40:11.000000000 +0000 | ||
| 8 | +++ qemu/linux-user/syscall.c 2007-12-03 23:40:21.000000000 +0000 | ||
| 9 | @@ -5695,28 +5695,6 @@ abi_long do_syscall(void *cpu_env, int n | ||
| 10 | goto unimplemented_nowarn; | ||
| 11 | #endif | ||
| 12 | |||
| 13 | -#ifdef TARGET_NR_clock_gettime | ||
| 14 | - case TARGET_NR_clock_gettime: | ||
| 15 | - { | ||
| 16 | - struct timespec ts; | ||
| 17 | - ret = get_errno(clock_gettime(arg1, &ts)); | ||
| 18 | - if (!is_error(ret)) { | ||
| 19 | - host_to_target_timespec(arg2, &ts); | ||
| 20 | - } | ||
| 21 | - break; | ||
| 22 | - } | ||
| 23 | -#endif | ||
| 24 | -#ifdef TARGET_NR_clock_getres | ||
| 25 | - case TARGET_NR_clock_getres: | ||
| 26 | - { | ||
| 27 | - struct timespec ts; | ||
| 28 | - ret = get_errno(clock_getres(arg1, &ts)); | ||
| 29 | - if (!is_error(ret)) { | ||
| 30 | - host_to_target_timespec(arg2, &ts); | ||
| 31 | - } | ||
| 32 | - break; | ||
| 33 | - } | ||
| 34 | -#endif | ||
| 35 | |||
| 36 | #if defined(TARGET_NR_set_tid_address) && defined(__NR_set_tid_address) | ||
| 37 | case TARGET_NR_set_tid_address: | ||
