summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorWaiman Long <Waiman.Long@hp.com>2015-06-19 11:50:00 -0400
committerIngo Molnar <mingo@kernel.org>2015-07-06 14:11:27 +0200
commitf7d71f2052555ae57b47322f2c2f6c29ff2438ae (patch)
treea4d6ee9d938222db57be7a4cd5330dfde9c72553 /arch/x86
parent1c4c7159ed2468f3ac4ce5a7f08d79663d381a93 (diff)
downloadop-kernel-dev-f7d71f2052555ae57b47322f2c2f6c29ff2438ae.zip
op-kernel-dev-f7d71f2052555ae57b47322f2c2f6c29ff2438ae.tar.gz
locking/qrwlock: Rename functions to queued_*()
To sync up with the naming convention used in qspinlock, all the qrwlock functions were renamed to started with "queued" instead of "queue". Signed-off-by: Waiman Long <Waiman.Long@hp.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Douglas Hatch <doug.hatch@hp.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> Cc: Will Deacon <will.deacon@arm.com> Link: http://lkml.kernel.org/r/1434729002-57724-2-git-send-email-Waiman.Long@hp.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/qrwlock.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/qrwlock.h b/arch/x86/include/asm/qrwlock.h
index ae0e241..a8810bf 100644
--- a/arch/x86/include/asm/qrwlock.h
+++ b/arch/x86/include/asm/qrwlock.h
@@ -4,8 +4,8 @@
#include <asm-generic/qrwlock_types.h>
#ifndef CONFIG_X86_PPRO_FENCE
-#define queue_write_unlock queue_write_unlock
-static inline void queue_write_unlock(struct qrwlock *lock)
+#define queued_write_unlock queued_write_unlock
+static inline void queued_write_unlock(struct qrwlock *lock)
{
barrier();
ACCESS_ONCE(*(u8 *)&lock->cnts) = 0;
OpenPOWER on IntegriCloud