Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263738AbUC3QnO (ORCPT ); Tue, 30 Mar 2004 11:43:14 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263740AbUC3QnO (ORCPT ); Tue, 30 Mar 2004 11:43:14 -0500 Received: from zcars04e.nortelnetworks.com ([47.129.242.56]:51375 "EHLO zcars04e.nortelnetworks.com") by vger.kernel.org with ESMTP id S263738AbUC3QnN (ORCPT ); Tue, 30 Mar 2004 11:43:13 -0500 Message-ID: <4069A359.7040908@nortelnetworks.com> Date: Tue, 30 Mar 2004 11:42:01 -0500 X-Sybari-Space: 00000000 00000000 00000000 00000000 From: Chris Friesen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Willy Tarreau CC: "Richard B. Johnson" , Alan Cox , Len Brown , Arkadiusz Miskiewicz , Marcelo Tosatti , Linux Kernel Mailing List , ACPI Developers Subject: Re: [ACPI] Re: Linux 2.4.26-rc1 (cmpxchg vs 80386 build) References: <1080535754.16221.188.camel@dhcppc4> <20040329052238.GD1276@alpha.home.local> <1080598062.983.3.camel@dhcppc4> <1080651370.25228.1.camel@dhcp23.swansea.linux.org.uk> <20040330142215.GA21931@alpha.home.local> <20040330150949.GA22073@alpha.home.local> <20040330161431.GA22272@alpha.home.local> In-Reply-To: <20040330161431.GA22272@alpha.home.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 712 Lines: 18 Willy Tarreau wrote: > In what I described, a 386 target would be compiled with -march=i386, > but the cmpxchg() FUNCTION will still reference the cmpxchg op-code > in the __asm__ statement, and this is perfectly valid. In this case, > only callers of the cmpxchg() FUNCTION will have a chance to use it. > And at the moment, the only client seems to be ACPI. Will the assembler even let you compile the cmpxchg asm instruction if you're building for i386? Chris - 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/