diff options
author | Waiman Long <Waiman.Long@hp.com> | 2015-06-19 11:50:00 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-07-06 08:11:27 -0400 |
commit | f7d71f2052555ae57b47322f2c2f6c29ff2438ae (patch) | |
tree | a4d6ee9d938222db57be7a4cd5330dfde9c72553 /kernel/locking | |
parent | 1c4c7159ed2468f3ac4ce5a7f08d79663d381a93 (diff) |
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 'kernel/locking')
-rw-r--r-- | kernel/locking/qrwlock.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kernel/locking/qrwlock.c b/kernel/locking/qrwlock.c index 6c5da483966b..49057d413b6e 100644 --- a/kernel/locking/qrwlock.c +++ b/kernel/locking/qrwlock.c | |||
@@ -60,10 +60,10 @@ rspin_until_writer_unlock(struct qrwlock *lock, u32 cnts) | |||
60 | } | 60 | } |
61 | 61 | ||
62 | /** | 62 | /** |
63 | * queue_read_lock_slowpath - acquire read lock of a queue rwlock | 63 | * queued_read_lock_slowpath - acquire read lock of a queue rwlock |
64 | * @lock: Pointer to queue rwlock structure | 64 | * @lock: Pointer to queue rwlock structure |
65 | */ | 65 | */ |
66 | void queue_read_lock_slowpath(struct qrwlock *lock) | 66 | void queued_read_lock_slowpath(struct qrwlock *lock) |
67 | { | 67 | { |
68 | u32 cnts; | 68 | u32 cnts; |
69 | 69 | ||
@@ -104,13 +104,13 @@ void queue_read_lock_slowpath(struct qrwlock *lock) | |||
104 | */ | 104 | */ |
105 | arch_spin_unlock(&lock->lock); | 105 | arch_spin_unlock(&lock->lock); |
106 | } | 106 | } |
107 | EXPORT_SYMBOL(queue_read_lock_slowpath); | 107 | EXPORT_SYMBOL(queued_read_lock_slowpath); |
108 | 108 | ||
109 | /** | 109 | /** |
110 | * queue_write_lock_slowpath - acquire write lock of a queue rwlock | 110 | * queued_write_lock_slowpath - acquire write lock of a queue rwlock |
111 | * @lock : Pointer to queue rwlock structure | 111 | * @lock : Pointer to queue rwlock structure |
112 | */ | 112 | */ |
113 | void queue_write_lock_slowpath(struct qrwlock *lock) | 113 | void queued_write_lock_slowpath(struct qrwlock *lock) |
114 | { | 114 | { |
115 | u32 cnts; | 115 | u32 cnts; |
116 | 116 | ||
@@ -149,4 +149,4 @@ void queue_write_lock_slowpath(struct qrwlock *lock) | |||
149 | unlock: | 149 | unlock: |
150 | arch_spin_unlock(&lock->lock); | 150 | arch_spin_unlock(&lock->lock); |
151 | } | 151 | } |
152 | EXPORT_SYMBOL(queue_write_lock_slowpath); | 152 | EXPORT_SYMBOL(queued_write_lock_slowpath); |