From: Stephen Rothwell Date: Mon, 19 May 2014 08:00:02 +0000 (+1000) Subject: Revert "rwsem-support-optimistic-spinning-checkpatch-fixes" X-Git-Tag: next-20140519~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=27ce28f9a1d31d6f7aba003eb7edb2c27a02390f;p=karo-tx-linux.git Revert "rwsem-support-optimistic-spinning-checkpatch-fixes" This reverts commit 5f0202bc5e034d4801511dd568de7d8ccbb7a00b. --- 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);