]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Revert "rwsem-support-optimistic-spinning-checkpatch-fixes"
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 19 May 2014 08:00:02 +0000 (18:00 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 19 May 2014 08:00:02 +0000 (18:00 +1000)
This reverts commit 5f0202bc5e034d4801511dd568de7d8ccbb7a00b.

kernel/locking/rwsem-xadd.c

index 1f99664b7f87f9fb522f94431a12b1ac5d964385..b562aca654cdcf0e80fed18297ec4da4a3bebfb6 100644 (file)
@@ -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);