[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8764colao1.fsf@suzuka.mcnaught.org>
Date: Wed, 06 Dec 2006 21:09:02 -0500
From: Douglas McNaught <doug@...aught.org>
To: Matthew Wilcox <matthew@....cx>
Cc: Linus Torvalds <torvalds@...l.org>,
Roman Zippel <zippel@...ux-m68k.org>,
Christoph Lameter <clameter@....com>,
David Howells <dhowells@...hat.com>,
Andrew Morton <akpm@...l.org>, linux-kernel@...r.kernel.org,
linux-arch@...r.kernel.org
Subject: Re: [PATCH] WorkStruct: Implement generic UP cmpxchg() where an
arch doesn't support it
Matthew Wilcox <matthew@....cx> writes:
> On Wed, Dec 06, 2006 at 05:36:29PM -0800, Linus Torvalds wrote:
>> Or are you saying that gcc aligns normal 32-bit entities at
>> 16-bit alignment? Neither of those sound very likely.
>
> alignof(u32) is 2 on m68k. Crazy, huh?
The original 68000 had a 16-bit bus (but 32-bit registers), which is
probably why it's that way.
-Doug
-
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