[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101015142617.GB25620@basil.fritz.box>
Date: Fri, 15 Oct 2010 16:26:17 +0200
From: Andi Kleen <andi@...stfloor.org>
To: Andreas Gruenbacher <agruen@...e.de>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Andi Kleen <andi@...stfloor.org>,
Jan Engelhardt <jengelh@...ozas.de>,
Eric Paris <eparis@...hat.com>, linux-kernel@...r.kernel.org,
torvalds@...ux-foundation.org, davem@...emloft.net
Subject: Re: 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.
-Andi
--
ak@...ux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists