Skip to content
  • Peter Zijlstra's avatar
    locking: Clean up pvqspinlock warning · 0b792bf5
    Peter Zijlstra authored
    
    
     - 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: default avatarPeter 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: default avatarIngo Molnar <mingo@kernel.org>
    0b792bf5