summaryrefslogtreecommitdiff
path: root/packages/qemu/qemu-0.9.0+cvs20071121/39_syscall_fadvise64.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-01-28 15:01:26 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-01-28 15:01:26 +0000
commit2a7d6f00f3b73eef0a1e83829fabc79577ec60af (patch)
tree2fbcddcd60cd12f81b262b07893c549babe8a6cf /packages/qemu/qemu-0.9.0+cvs20071121/39_syscall_fadvise64.patch
parent37630086504c668adf55b3709f6e9b908cb07884 (diff)
qemu: Remove versions with negative default preferences and cleanup
Diffstat (limited to 'packages/qemu/qemu-0.9.0+cvs20071121/39_syscall_fadvise64.patch')
-rw-r--r--packages/qemu/qemu-0.9.0+cvs20071121/39_syscall_fadvise64.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/packages/qemu/qemu-0.9.0+cvs20071121/39_syscall_fadvise64.patch b/packages/qemu/qemu-0.9.0+cvs20071121/39_syscall_fadvise64.patch
deleted file mode 100644
index 54ee3e0948..0000000000
--- a/packages/qemu/qemu-0.9.0+cvs20071121/39_syscall_fadvise64.patch
+++ /dev/null
@@ -1,21 +0,0 @@
----
- linux-user/syscall.c | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-Index: linux-user/syscall.c
-===================================================================
---- linux-user/syscall.c.orig 2007-12-03 19:33:47.000000000 +0000
-+++ linux-user/syscall.c 2007-12-03 19:33:48.000000000 +0000
-@@ -5317,6 +5317,12 @@ abi_long do_syscall(void *cpu_env, int n
- ret = get_errno(mincore((void*)arg1, (size_t)arg2, (unsigned char*)arg3));
- break;
- #endif
-+#ifdef TARGET_NR_fadvise64_64
-+ case TARGET_NR_fadvise64_64:
-+ /* Just return success */
-+ ret = get_errno(0);
-+ break;
-+#endif
- #ifdef TARGET_NR_madvise
- case TARGET_NR_madvise:
- /* A straight passthrough may not be safe because qemu sometimes