]> git.baikalelectronics.ru Git - kernel.git/commit
locking: Clean up pvqspinlock warning
authorPeter Zijlstra <peterz@infradead.org>
Tue, 21 Jul 2015 10:13:43 +0000 (12:13 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 3 Aug 2015 08:57:08 +0000 (10:57 +0200)
commitb5d28e9bd00780bed91dcf45c8be0bc9ba48245e
tree6c7a91eb4963eee386068b5f1afbe66fe4dbcfbe
parent178b8394251af23e7f26a853e1e35cfe95da2bab
locking: Clean up pvqspinlock warning

 - Rename the on-stack variable to match the datastructure variable,

 - place the cmpxchg back under the comment that explains it,

 - clean up the WARN() statement to avoid superfluous conditionals
   and line-breaks.

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@hp.com>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/locking/qspinlock_paravirt.h