Skip to content

Commit c7114b4

Browse files
longman88ingomolnar
authored andcommitted
locking/qrwlock: Rename QUEUE_RWLOCK to QUEUED_RWLOCKS
To be consistent with the queued spinlocks which use CONFIG_QUEUED_SPINLOCKS config parameter, the one for the queued rwlocks is now renamed to CONFIG_QUEUED_RWLOCKS. Signed-off-by: Waiman Long <Waiman.Long@hp.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Douglas Hatch <doug.hatch@hp.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Scott J Norton <scott.norton@hp.com> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1431367031-36697-1-git-send-email-Waiman.Long@hp.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 62c7a1e commit c7114b4

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎arch/x86/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ config X86
128128
select CLONE_BACKWARDS if X86_32
129129
select ARCH_USE_BUILTIN_BSWAP
130130
select ARCH_USE_QUEUED_SPINLOCKS
131-
select ARCH_USE_QUEUE_RWLOCK
131+
select ARCH_USE_QUEUED_RWLOCKS
132132
select OLD_SIGSUSPEND3 if X86_32 || IA32_EMULATION
133133
select OLD_SIGACTION if X86_32
134134
select COMPAT_OLD_SIGACTION if IA32_EMULATION

‎kernel/Kconfig.locks‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,9 @@ config QUEUED_SPINLOCKS
242242
def_bool y if ARCH_USE_QUEUED_SPINLOCKS
243243
depends on SMP
244244

245-
config ARCH_USE_QUEUE_RWLOCK
245+
config ARCH_USE_QUEUED_RWLOCKS
246246
bool
247247

248-
config QUEUE_RWLOCK
249-
def_bool y if ARCH_USE_QUEUE_RWLOCK
248+
config QUEUED_RWLOCKS
249+
def_bool y if ARCH_USE_QUEUED_RWLOCKS
250250
depends on SMP

‎kernel/locking/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock_debug.o
2626
obj-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o
2727
obj-$(CONFIG_RWSEM_XCHGADD_ALGORITHM) += rwsem-xadd.o
2828
obj-$(CONFIG_PERCPU_RWSEM) += percpu-rwsem.o
29-
obj-$(CONFIG_QUEUE_RWLOCK) += qrwlock.o
29+
obj-$(CONFIG_QUEUED_RWLOCKS) += qrwlock.o
3030
obj-$(CONFIG_LOCK_TORTURE_TEST) += locktorture.o

‎kernel/locking/qrwlock.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Queue read/write lock
2+
* Queued read/write locks
33
*
44
* This program is free software; you can redistribute it and/or modify
55
* it under the terms of the GNU General Public License as published by

0 commit comments

Comments
 (0)