Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937958AbWLGCJE (ORCPT ); Wed, 6 Dec 2006 21:09:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S937956AbWLGCJE (ORCPT ); Wed, 6 Dec 2006 21:09:04 -0500 Received: from station18k.dscga.com ([192.24.222.18]:41577 "EHLO suzuka.mcnaught.org" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S937951AbWLGCJD (ORCPT ); Wed, 6 Dec 2006 21:09:03 -0500 To: Matthew Wilcox Cc: Linus Torvalds , Roman Zippel , Christoph Lameter , David Howells , Andrew Morton , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH] WorkStruct: Implement generic UP cmpxchg() where an arch doesn't support it References: <20061206195820.GA15281@flint.arm.linux.org.uk> <20061206213626.GE3013@parisc-linux.org> <20061206220532.GF3013@parisc-linux.org> <20061207014428.GH3013@parisc-linux.org> From: Douglas McNaught Date: Wed, 06 Dec 2006 21:09:02 -0500 In-Reply-To: <20061207014428.GH3013@parisc-linux.org> (Matthew Wilcox's message of "Wed, 6 Dec 2006 18:44:28 -0700") Message-ID: <8764colao1.fsf@suzuka.mcnaught.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 621 Lines: 17 Matthew Wilcox 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/