Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750889AbWCDOMx (ORCPT ); Sat, 4 Mar 2006 09:12:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751534AbWCDOMx (ORCPT ); Sat, 4 Mar 2006 09:12:53 -0500 Received: from smtp104.mail.mud.yahoo.com ([209.191.85.214]:5755 "HELO smtp104.mail.mud.yahoo.com") by vger.kernel.org with SMTP id S1750804AbWCDOMw (ORCPT ); Sat, 4 Mar 2006 09:12:52 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.au; h=Received:Message-ID:Date:From:User-Agent:X-Accept-Language:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=WN7vj2yTvcdEAHYaIXave1/0U9h0JfPZeZZVVq3OxFqHJfr0iX4TwfrU9epPVhu57+0ZigxtdaFXhO7OLC8CWnDFbILHjZRB+wZMfI/fzKyOmjcVnvOge1pvgL3j5hzCd6nCcI7q45g9bMEJQ/coLZLLDuiLMP1Sjf1/quuOjG4= ; Message-ID: <4409A05F.2090704@yahoo.com.au> Date: Sun, 05 Mar 2006 01:12:47 +1100 From: Nick Piggin User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20051007 Debian/1.7.12-1 X-Accept-Language: en MIME-Version: 1.0 To: Roman Zippel CC: Andrew Morton , Linus Torvalds , bunk@stusta.de, Geert Uytterhoeven , linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: 2.6.16-rc regression: m68k CONFIG_RMW_INSNS=n compile broken References: <20060303230149.GB9295@stusta.de> <20060303155913.2e299736.akpm@osdl.org> In-Reply-To: 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: 965 Lines: 29 Roman Zippel wrote: > Hi, > > On Fri, 3 Mar 2006, Andrew Morton wrote: > > >>Yes, we now require cmpxchg of all architectures. > > > Actually I'd prefer if we used atomic_cmpxchg() instead. > The cmpxchg() emulation was never added for a good reason - to keep code > from assuming it can be used it for userspace synchronisation. Using an > atomic_t here would probably get at least some attention. > Yes, I guess that's what Andrew meant. The reason we can require atomic_cmpxchg of all architectures is because it is only guaranteed to work on atomic_t. Glad to hear it won't be a problem for you though. -- SUSE Labs, Novell Inc. Send instant messages to your online friends http://au.messenger.yahoo.com - 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/