diff options
| author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-01-09 11:16:08 +0000 |
|---|---|---|
| committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-01-09 11:16:08 +0000 |
| commit | 3e5646fce1af97a8bde8a740da4ee0c58bf42ebd (patch) | |
| tree | 2d5c0dc86ac168f2b3ae135d5d66ba84e36f9478 /meta/packages/qemu/qemu-0.9.1/39_syscall_fadvise64.patch | |
| parent | 03e591a793512342acac958597047f34a9d5bfbe (diff) | |
| download | poky-3e5646fce1af97a8bde8a740da4ee0c58bf42ebd.tar.gz | |
qemu: upgrade CVS snapshot 20071230 to 0.9.1 release
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3435 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/qemu/qemu-0.9.1/39_syscall_fadvise64.patch')
| -rw-r--r-- | meta/packages/qemu/qemu-0.9.1/39_syscall_fadvise64.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/packages/qemu/qemu-0.9.1/39_syscall_fadvise64.patch b/meta/packages/qemu/qemu-0.9.1/39_syscall_fadvise64.patch new file mode 100644 index 0000000000..54ee3e0948 --- /dev/null +++ b/meta/packages/qemu/qemu-0.9.1/39_syscall_fadvise64.patch | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | --- | ||
| 2 | linux-user/syscall.c | 6 ++++++ | ||
| 3 | 1 file changed, 6 insertions(+) | ||
| 4 | |||
| 5 | Index: linux-user/syscall.c | ||
| 6 | =================================================================== | ||
| 7 | --- linux-user/syscall.c.orig 2007-12-03 19:33:47.000000000 +0000 | ||
| 8 | +++ linux-user/syscall.c 2007-12-03 19:33:48.000000000 +0000 | ||
| 9 | @@ -5317,6 +5317,12 @@ abi_long do_syscall(void *cpu_env, int n | ||
| 10 | ret = get_errno(mincore((void*)arg1, (size_t)arg2, (unsigned char*)arg3)); | ||
| 11 | break; | ||
| 12 | #endif | ||
| 13 | +#ifdef TARGET_NR_fadvise64_64 | ||
| 14 | + case TARGET_NR_fadvise64_64: | ||
| 15 | + /* Just return success */ | ||
| 16 | + ret = get_errno(0); | ||
| 17 | + break; | ||
| 18 | +#endif | ||
| 19 | #ifdef TARGET_NR_madvise | ||
| 20 | case TARGET_NR_madvise: | ||
| 21 | /* A straight passthrough may not be safe because qemu sometimes | ||
