Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263768AbUC3RrV (ORCPT ); Tue, 30 Mar 2004 12:47:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263777AbUC3RrU (ORCPT ); Tue, 30 Mar 2004 12:47:20 -0500 Received: from fmr06.intel.com ([134.134.136.7]:12501 "EHLO caduceus.jf.intel.com") by vger.kernel.org with ESMTP id S263768AbUC3Rq3 (ORCPT ); Tue, 30 Mar 2004 12:46:29 -0500 Subject: Re: [ACPI] Re: Linux 2.4.26-rc1 (cmpxchg vs 80386 build) From: Len Brown To: Chris Friesen Cc: Willy Tarreau , "Richard B. Johnson" , Alan Cox , Arkadiusz Miskiewicz , Marcelo Tosatti , Linux Kernel Mailing List , ACPI Developers In-Reply-To: <4069A359.7040908@nortelnetworks.com> 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> <4069A359.7040908@nortelnetworks.com> Content-Type: text/plain Organization: Message-Id: <1080668673.989.106.camel@dhcppc4> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.3 Date: 30 Mar 2004 12:44:33 -0500 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 815 Lines: 23 Sorry I didn't reply to this thread, after Alan wrote I figured the topic was closed;-) Yes, per my initial message, gcc _will_ generate cmpxchg for the 80386 build. Indeed, it has been doing so for over a year with ACPI's previous private (and flawed) asm() invocation of cmpxchg. Andi/Alan suggested we invoke cmpxchg always in ACPI, but disable ACPI at boot-time in the unlikely event we find ourselves running on a cpu without that instruction. Luming has already taking a swing at this patch here: http://bugzilla.kernel.org/show_bug.cgi?id=2391 thanks, -Len - 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/