diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2014-05-19 18:00:02 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2014-05-19 18:00:02 +1000 |
commit | 27ce28f9a1d31d6f7aba003eb7edb2c27a02390f (patch) | |
tree | 029a72609ffc6de2189d97e0cdf274c424b435ad | |
parent | 308133b4cc5f8a07a91ee02f31c54d71b84f5189 (diff) |
Revert "rwsem-support-optimistic-spinning-checkpatch-fixes"
This reverts commit 5f0202bc5e034d4801511dd568de7d8ccbb7a00b.
-rw-r--r-- | kernel/locking/rwsem-xadd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/locking/rwsem-xadd.c b/kernel/locking/rwsem-xadd.c index 1f99664b7f87..b562aca654cd 100644 --- a/kernel/locking/rwsem-xadd.c +++ b/kernel/locking/rwsem-xadd.c @@ -431,9 +431,9 @@ struct rw_semaphore __sched *rwsem_down_write_failed(struct rw_semaphore *sem) count = ACCESS_ONCE(sem->count); /* - * If there were already threads queued before us and there are - * no active writers, the lock must be read owned; so we try to - * wake any read locks that were queued ahead of us. + * If there were already threads queued before us and there are no + * active writers, the lock must be read owned; so we try to wake + * any read locks that were queued ahead of us. */ if (count > RWSEM_WAITING_BIAS) sem = __rwsem_do_wake(sem, RWSEM_WAKE_READERS); |