Re: [PATCH 4/6] arch/sparc: Enable queued rwlocks for SPARC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 5/18/2017 9:31 PM, David Miller wrote:
From: Babu Moger <babu.moger@xxxxxxxxxx>
Date: Thu, 18 May 2017 18:36:08 -0600

@@ -82,6 +82,7 @@ config SPARC64
  	select HAVE_ARCH_AUDITSYSCALL
  	select ARCH_SUPPORTS_ATOMIC_RMW
  	select HAVE_NMI
+	select ARCH_USE_QUEUED_RWLOCKS
If you are selecting this on SPARC64 all the time, then:

@@ -94,6 +94,7 @@ static inline void arch_spin_lock_flags(arch_spinlock_t *lock, unsigned long fla
  	: "memory");
  }
+#ifndef CONFIG_QUEUED_RWLOCKS
  /* Multi-reader locks, these are much saner than the 32-bit Sparc ones... */
You can remove this segment of ifdef'd code altogether since it is in
a sparc64 specific header file.

Sure. will do.



[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux