From 27ce28f9a1d31d6f7aba003eb7edb2c27a02390f Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Mon, 19 May 2014 18:00:02 +1000 Subject: Revert "rwsem-support-optimistic-spinning-checkpatch-fixes" This reverts commit 5f0202bc5e034d4801511dd568de7d8ccbb7a00b. --- kernel/locking/rwsem-xadd.c | 6 +++--- 1 file 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); -- cgit v1.2.3