[lkml]   [2010]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Process to push changes to include/linux/types.h
> 64-bit values align to 4-byte boundaries on some 32-bit architectures like x86 
AFAIK it's only on x86, no other architecture made this mistake in their
32bit ABI. But of course x86 is kind of important ...

> and to 8-byte boundaries on 64-bit architetures. The new __aligned_64 type
> enforces 8-byte alignment and so structs containing __aligned_64 values have
> the same alignment on 32-bit and 64-bit architectures. No conversions are
> necessary between 32-bit user-space and a 64-bit kernel.

Rest looks good and could be put into Andrew's comment.


-- -- Speaking for myself only.

 \ /
  Last update: 2010-10-15 16:29    [W:0.056 / U:2.508 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site