Kirill A. Shutemov wrote:
> Patch from Debian patchset in the attachment

> --- linux-user/syscall.c.orig 2006-11-05 07:07:19.000000000 +0200
> +++ linux-user/syscall.c      2006-11-05 07:07:25.000000000 +0200
> @@ -3947,7 +3956,8 @@ long do_syscall(void *cpu_env, int num, 
>          ret = get_errno(gettid());
>          break;
>      case TARGET_NR_readahead:
> -        goto unimplemented;
> +        ret = get_errno(readahead((int)arg1, (off64_t)arg2, (size_t)arg3));
> +        break;

arg2 is a (off64_t *), I figure it needs locking.


Thiemo


_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to