diff options
author | Richard Purdie <richard@openedhand.com> | 2008-04-25 12:21:49 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-04-25 12:21:49 +0000 |
commit | 8d5784b9eae80714acb51ed67c611619b841c105 (patch) | |
tree | e5b7f9464fcaacd90c3a20b481b670f45884861a /meta/packages/qemu/qemu-0.9.1+svnr4027/39_syscall_fadvise64.patch | |
parent | c06037203d186d12eda82eb86e0d6337e9dbe5ce (diff) | |
download | openembedded-core-8d5784b9eae80714acb51ed67c611619b841c105.tar.gz openembedded-core-8d5784b9eae80714acb51ed67c611619b841c105.tar.bz2 openembedded-core-8d5784b9eae80714acb51ed67c611619b841c105.tar.xz openembedded-core-8d5784b9eae80714acb51ed67c611619b841c105.zip |
qemu: Restore qemu r4027 until i686 issues are resolved
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4338 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/qemu/qemu-0.9.1+svnr4027/39_syscall_fadvise64.patch')
-rw-r--r-- | meta/packages/qemu/qemu-0.9.1+svnr4027/39_syscall_fadvise64.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/packages/qemu/qemu-0.9.1+svnr4027/39_syscall_fadvise64.patch b/meta/packages/qemu/qemu-0.9.1+svnr4027/39_syscall_fadvise64.patch new file mode 100644 index 000000000..54ee3e094 --- /dev/null +++ b/meta/packages/qemu/qemu-0.9.1+svnr4027/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-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 |