From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29794 invoked by alias); 10 Apr 2004 07:34:15 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 29774 invoked from network); 10 Apr 2004 07:34:14 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sources.redhat.com with SMTP; 10 Apr 2004 07:34:14 -0000 Received: from hermes.suse.de (Hermes.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id C493B42BABB for ; Sat, 10 Apr 2004 09:34:13 +0200 (CEST) Received: from aj by arthur.inka.de with local (Exim 4.22) id 1BCD0F-0002vx-LV; Sat, 10 Apr 2004 09:34:11 +0200 To: Andreas Schwab Cc: libc-hacker@sources.redhat.com Subject: Re: INTERNAL_SYSCALL and function calls in arguments References: <20040409071510.GA21965@suse.de> From: Andreas Jaeger Date: Sat, 10 Apr 2004 07:34:00 -0000 In-Reply-To: (Andreas Schwab's message of "Fri, 09 Apr 2004 15:45:16 +0200") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Rational FORTRAN, linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-SW-Source: 2004-04/txt/msg00017.txt.bz2 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 965 Andreas Schwab writes: > Thorsten Kukuk writes: > >> Hi, >> >> sched_setaffinity has the following code: >> >> INTERNAL_SYSCALL (sched_getaffinity, err, 3, getpid(), psize, p) > > Here is a patch to fix the INTERNAL_SYSCALL macro for x86_64 and ia64. > The definition on arm is probably also affected, but I can't test it. The x86-64 version is ok. The question is just whether we want to go this road - or fix sched_getaffinity instead. I consider it safer to change INTERNAL_SYSCALL. But we should check all other platforms, a brief look shows: - m68k, x86 are ok - x86-64, ia64: Fixed with your patch - arm: Might need changes - s390, s390x: Look also broken. - ppc,ppc64, sparc, alpha, sh, mips, hppa, : Might need changes Andreas --=20 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SuSE Linux AG, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GPG fingerprint =3D 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 --=-=-= Content-Type: application/pgp-signature Content-length: 188 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQBAd6NzOJpWPMJyoSYRAo0gAJwL/rY1sTN54HRp5kQGEnprd0d9hgCfeY9F RJ5haXwNC0SHWgav2SRYtws= =HRZd -----END PGP SIGNATURE----- --=-=-=--