mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 00:32:14 +02:00
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1923 311d38ba-8fff-0310-9ca6-ca027cbcb966
22 lines
752 B
Diff
22 lines
752 B
Diff
---
|
|
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
|