locking/pvqspinlock: Fix a bug in qstat_read()
authorPan Xinhui <xinhui.pan@linux.vnet.ibm.com>
Wed, 13 Jul 2016 10:23:34 +0000 (18:23 +0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 10 Aug 2016 12:13:29 +0000 (14:13 +0200)
commitc2ace36b884de9330c4149064ae8d212d2e0d9ee
treebd9ffc016134a9315c1d8b65502483298b6a0238
parent229ce631574761870a2ac938845fadbd07f35caa
locking/pvqspinlock: Fix a bug in qstat_read()

It's obviously wrong to set stat to NULL. So lets remove it.
Otherwise it is always zero when we check the latency of kick/wake.

Signed-off-by: Pan Xinhui <xinhui.pan@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Waiman Long <Waiman.Long@hpe.com>
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>
Link: http://lkml.kernel.org/r/1468405414-3700-1-git-send-email-xinhui.pan@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/locking/qspinlock_stat.h