Date: Tue, 25 Mar 2008 15:40:05 -0400 From: John Baldwin <jhb@freebsd.org> To: jeff@freebsd.org Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/compat/freebsd32 syscalls.master Message-ID: <200803251540.05423.jhb@freebsd.org> In-Reply-To: <200803251934.m2PJYnMZ091745@repoman.freebsd.org> References: <200803251934.m2PJYnMZ091745@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803251540.05423.jhb>