diff options
author | Peter Zijlstra <peterz@infradead.org> | 2015-07-21 12:13:43 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-08-03 10:57:08 +0200 |
commit | 0b792bf519e68108d577fcec815ab50913787012 (patch) | |
tree | 6c7a91eb4963eee386068b5f1afbe66fe4dbcfbe /Documentation/memory-barriers.txt | |
parent | 3a7651e683701dbb4c7d02e20661c923fa4c6901 (diff) | |
download | linux-0b792bf519e68108d577fcec815ab50913787012.tar.gz linux-0b792bf519e68108d577fcec815ab50913787012.tar.bz2 linux-0b792bf519e68108d577fcec815ab50913787012.zip |
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>
Diffstat (limited to 'Documentation/memory-barriers.txt')
0 files changed, 0 insertions, 0 deletions