locking/qspinlock: Improve readability
authorPeter Zijlstra <peterz@infradead.org>
Thu, 14 Jul 2016 12:26:11 +0000 (14:26 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 10 Aug 2016 12:16:02 +0000 (14:16 +0200)
commit64a5e3cb308028dba0676daae0a7821d770036fa
treec50fac7c350895f3ec81662f53cbee6c4e64d9e2
parentc2ace36b884de9330c4149064ae8d212d2e0d9ee
locking/qspinlock: Improve readability

Restructure pv_queued_spin_steal_lock() as I found it hard to read.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Waiman Long <waiman.long@hpe.com
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/locking/qspinlock_paravirt.h