summaryrefslogtreecommitdiff
path: root/packages/qemu/qemu-0.9.0+cvs20071121/fix_segfault.patch
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2008-01-01 21:50:19 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2008-01-01 21:50:19 +0000
commit8f9e46740b16defbebb955752a317137121e0b85 (patch)
treec2dc70860a9f39aeded0bb6277704e0deb269078 /packages/qemu/qemu-0.9.0+cvs20071121/fix_segfault.patch
parent0db3fd6f76f6c403ba2fb8fe3a11149dda22e7c1 (diff)
parent919c87c0767a6f43d7865d23a1458879e660339a (diff)
merge of '0d9bd56d97ada159199c80422a743fbaa437a818'
and '7c47cd537d8cebaa3111aa836db24534a39b5ed9'
Diffstat (limited to 'packages/qemu/qemu-0.9.0+cvs20071121/fix_segfault.patch')
-rw-r--r--packages/qemu/qemu-0.9.0+cvs20071121/fix_segfault.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/qemu/qemu-0.9.0+cvs20071121/fix_segfault.patch b/packages/qemu/qemu-0.9.0+cvs20071121/fix_segfault.patch
new file mode 100644
index 0000000000..443c330650
--- /dev/null
+++ b/packages/qemu/qemu-0.9.0+cvs20071121/fix_segfault.patch
@@ -0,0 +1,37 @@
+---
+ linux-user/syscall.c | 22 ----------------------
+ 1 file changed, 22 deletions(-)
+
+Index: qemu/linux-user/syscall.c
+===================================================================
+--- qemu.orig/linux-user/syscall.c 2007-12-03 23:40:11.000000000 +0000
++++ qemu/linux-user/syscall.c 2007-12-03 23:40:21.000000000 +0000
+@@ -5695,28 +5695,6 @@ abi_long do_syscall(void *cpu_env, int n
+ goto unimplemented_nowarn;
+ #endif
+
+-#ifdef TARGET_NR_clock_gettime
+- case TARGET_NR_clock_gettime:
+- {
+- struct timespec ts;
+- ret = get_errno(clock_gettime(arg1, &ts));
+- if (!is_error(ret)) {
+- host_to_target_timespec(arg2, &ts);
+- }
+- break;
+- }
+-#endif
+-#ifdef TARGET_NR_clock_getres
+- case TARGET_NR_clock_getres:
+- {
+- struct timespec ts;
+- ret = get_errno(clock_getres(arg1, &ts));
+- if (!is_error(ret)) {
+- host_to_target_timespec(arg2, &ts);
+- }
+- break;
+- }
+-#endif
+
+ #if defined(TARGET_NR_set_tid_address) && defined(__NR_set_tid_address)
+ case TARGET_NR_set_tid_address: