From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KggmA-0000QB-Ip for qemu-devel@nongnu.org; Fri, 19 Sep 2008 10:16:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kggm9-0000Pe-ES for qemu-devel@nongnu.org; Fri, 19 Sep 2008 10:16:02 -0400 Received: from [199.232.76.173] (port=57184 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kggm9-0000PU-3E for qemu-devel@nongnu.org; Fri, 19 Sep 2008 10:16:01 -0400 Received: from ey-out-1920.google.com ([74.125.78.150]:19550) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kggm8-0006Kt-HB for qemu-devel@nongnu.org; Fri, 19 Sep 2008 10:16:00 -0400 Received: by ey-out-1920.google.com with SMTP id 4so126936eyk.4 for ; Fri, 19 Sep 2008 07:15:59 -0700 (PDT) Date: Fri, 19 Sep 2008 17:16:41 +0300 From: "Kirill A. Shutemov" Subject: Re: [Qemu-devel] [PATCH] Add readahead syscall Message-ID: <20080919141639.GE5346@localhost.localdomain> References: <20080919133323.GA19890@kos.to> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="X3gaHHMYHkYqP6yf" Content-Disposition: inline In-Reply-To: <20080919133323.GA19890@kos.to> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --X3gaHHMYHkYqP6yf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 19, 2008 at 04:33:23PM +0300, Riku Voipio wrote: >=20 > Signed-off-by: Riku Voipio > --- > linux-user/syscall.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) >=20 > diff --git a/linux-user/syscall.c b/linux-user/syscall.c > index cb75c94..6b38d8a 100644 > --- a/linux-user/syscall.c > +++ b/linux-user/syscall.c > @@ -5738,7 +5738,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_lon= g arg1, > break; > #ifdef TARGET_NR_readahead > case TARGET_NR_readahead: > - goto unimplemented; > + ret =3D get_errno(readahead(arg1, arg2, arg3)); > + break; > #endif > #ifdef TARGET_NR_setxattr > case TARGET_NR_setxattr: Looks good for me. Added to my patchset. > --=20 > 1.5.6.5 >=20 >=20 > --=20 > "rm -rf" only sounds scary if you don't have backups >=20 >=20 --=20 Regards, Kirill A. Shutemov + Belarus, Minsk + ALT Linux Team, http://www.altlinux.com/ --X3gaHHMYHkYqP6yf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkjTtEcACgkQbWYnhzC5v6oKsQCeJNZxHbdSMVHpTWU04tqxSG1V jygAoINYV0utQew469kPBXIpb30YU5IG =snNC -----END PGP SIGNATURE----- --X3gaHHMYHkYqP6yf--