qemu-devel@nongnu.org
[Top] [All Lists]

Re: [Qemu-devel] [PATCH] Add readahead syscall

Subject: Re: [Qemu-devel] [PATCH] Add readahead syscall
From: Paul Brook
Date: Sun, 21 Sep 2008 14:03:16 +0100
>  #ifdef TARGET_NR_readahead
>      case TARGET_NR_readahead:
> -        goto unimplemented;
> +        ret = get_errno(readahead(arg1, arg2, arg3));
> +        break;

This is wrong on 32-bit targets, and especially wrong on ARM where there are 
two variants.

Paul


<Prev in Thread] Current Thread [Next in Thread>