From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: [PATCH 2/2] locking/rwsem: Disable optimistic spinning for PA-RISC Date: Fri, 6 Jun 2014 20:01:02 +0200 Message-ID: <20140606180102.GY13930@laptop.programming.kicks-ass.net> References: <1402070140-15090-1-git-send-email-davidlohr@hp.com> <1402070140-15090-3-git-send-email-davidlohr@hp.com> <1402070987.2207.75.camel@dabdike.int.hansenpartnership.com> <20140606171145.GU13930@laptop.programming.kicks-ass.net> <20140606175316.GV13930@laptop.programming.kicks-ass.net> <1402077427.2207.91.camel@dabdike.int.hansenpartnership.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linus Torvalds , Davidlohr Bueso , Ingo Molnar , Mikulas Patocka , Jason Low , Waiman Long , "James E.J. Bottomley" , Paul McKenney , John David Anglin , "Chandramouleeswaran, Aswin" , Linux Kernel Mailing List , Parisc List , David Miller , James Hogan , Chris Metcalf , Vineet Gupta To: James Bottomley Return-path: In-Reply-To: <1402077427.2207.91.camel@dabdike.int.hansenpartnership.com> List-ID: List-Id: linux-parisc.vger.kernel.org On Fri, Jun 06, 2014 at 10:57:07AM -0700, James Bottomley wrote: > > diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig > > index 29f2e988c56a..407c87d9879a 100644 > > --- a/arch/sparc/Kconfig > > +++ b/arch/sparc/Kconfig > > @@ -78,6 +78,7 @@ config SPARC64 ^^^^^^^^^^^^^^ > > select HAVE_C_RECORDMCOUNT > > select NO_BOOTMEM > > select HAVE_ARCH_AUDITSYSCALL > > + select ARCH_SUPPORTS_ATOMIC_RMW > > Sparc64 does, Sparc32 doesn't, so shouldn't that be > > select ARCH_SUPPORTS_ATOMIC_RMW if 64BIT > > ? arch/sparc/Kconfig has 3 large sections: config SPARC (included in both) config SPARC32 (specific to 32bit) config SPARC64 (specific to 64bit) I added it to the last.