From owner-cvs-src@FreeBSD.ORG Tue Mar 25 19:40:35 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D1E1106566C; Tue, 25 Mar 2008 19:40:35 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id B77E18FC1D; Tue, 25 Mar 2008 19:40:34 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 236713791-1834499 for multiple; Tue, 25 Mar 2008 15:40:20 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m2PJePpL078956; Tue, 25 Mar 2008 15:40:31 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: jeff@freebsd.org Date: Tue, 25 Mar 2008 15:40:05 -0400 User-Agent: KMail/1.9.7 References: <200803251934.m2PJYnMZ091745@repoman.freebsd.org> In-Reply-To: <200803251934.m2PJYnMZ091745@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803251540.05423.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Tue, 25 Mar 2008 15:40:31 -0400 (EDT) X-Virus-Scanned: ClamAV 0.91.2/6392/Tue Mar 25 08:44:02 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/compat/freebsd32 syscalls.master X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2008 19:40:35 -0000 On Tuesday 25 March 2008 03:34:48 pm John Baldwin wrote: > jhb 2008-03-25 19:34:48 UTC > > FreeBSD src repository > > Modified files: > sys/compat/freebsd32 syscalls.master > Log: > Add entries for the cpuset-related system calls. The existing system > calls can be used on little endian systems. > > Pointy hat to: jeff For big-endian systems byte-swapping conversions are needed because longs are different sizes on 32-bit vs 64-bit. If cpuset_t were changed to use an array of ints rather than array of longs this would not be necessary, at least with all of our current 64-bit archs (and including things like 64-bit arm, mips, and ppc AFAIK) as ints are always 32-bits. -- John Baldwin