diff options
author | Richard Purdie <richard@openedhand.com> | 2007-12-04 13:58:45 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-12-04 13:58:45 +0000 |
commit | d0b4968cd24a0152e88396d40310cdbae9555a1f (patch) | |
tree | 0ec4da2bbbbfcc7300780589135c01a3430ff774 /meta/packages/qemu/qemu-0.9.0+cvs20070613/39_syscall_fadvise64.patch | |
parent | 1fbde4b0c426c59695eb19e3785718dddf62632c (diff) | |
download | openembedded-core-d0b4968cd24a0152e88396d40310cdbae9555a1f.tar.gz openembedded-core-d0b4968cd24a0152e88396d40310cdbae9555a1f.tar.bz2 openembedded-core-d0b4968cd24a0152e88396d40310cdbae9555a1f.tar.xz openembedded-core-d0b4968cd24a0152e88396d40310cdbae9555a1f.zip |
qemu: Make 20071121 the default version and cleanup various file locations and recipes
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3305 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/qemu/qemu-0.9.0+cvs20070613/39_syscall_fadvise64.patch')
-rw-r--r-- | meta/packages/qemu/qemu-0.9.0+cvs20070613/39_syscall_fadvise64.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/packages/qemu/qemu-0.9.0+cvs20070613/39_syscall_fadvise64.patch b/meta/packages/qemu/qemu-0.9.0+cvs20070613/39_syscall_fadvise64.patch new file mode 100644 index 000000000..0a7f4c48d --- /dev/null +++ b/meta/packages/qemu/qemu-0.9.0+cvs20070613/39_syscall_fadvise64.patch @@ -0,0 +1,21 @@ +--- + linux-user/syscall.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +Index: linux-user/syscall.c +=================================================================== +--- linux-user/syscall.c.orig 2007-06-13 11:51:55.000000000 +0100 ++++ linux-user/syscall.c 2007-06-13 11:52:13.000000000 +0100 +@@ -4434,6 +4434,12 @@ long do_syscall(void *cpu_env, int num, + 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 |