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 06:26:14PM +0000, David Laight wrote:
>> There is a 64bit integer type that has an alignment requirement of 8.
>> If that is used instead of a normal 64bit type then the structure
>> alignement under amd64 matches that of i386.
The easiest way to get such alignment is to ask for it explicitly:
__attribute__((aligned(8))).
paul
Home |
Main Index |
Thread Index |
Old Index