tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: compat_netbsd32 swapctl



On Wed, Jan 29, 2014 at 12:06:39PM +0100, Martin Husemann wrote:
> On Wed, Jan 29, 2014 at 11:54:29AM +0100, Martin Husemann wrote:
> > You could define swapent32 with se_dev split into two 32bit halves and
> > do full conversion back and forth, but better check what alignment
> > mips and sparc would require here first.
> 
> I verified i386 uses 4 byte, sparc uses 8 byte.
> I have no mips handy to test, anyone can run the attached program there?

I had a mips compiler, however, and it says: mips (at least with o32
abi) uses 8 as well.

So: please fix it only for amd64/i386, it aint broken for the others.

Martin


Home | Main Index | Thread Index | Old Index