summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/quirks.c
diff options
context:
space:
mode:
authorNeeraj Upadhyay2019-03-29 12:27:08 +0100
committerPaul E. McKenney2019-05-28 18:02:57 +0200
commit3ae976a7e3e87438b8439a01aeb79d4866b1c444 (patch)
tree3909fa53f6a8ea05abfd45fdbeab0423ab62523f /drivers/pnp/quirks.c
parentrcu: Dump specified number of blocked tasks (diff)
downloadkernel-qcow2-linux-3ae976a7e3e87438b8439a01aeb79d4866b1c444.tar.gz
kernel-qcow2-linux-3ae976a7e3e87438b8439a01aeb79d4866b1c444.tar.xz
kernel-qcow2-linux-3ae976a7e3e87438b8439a01aeb79d4866b1c444.zip
rcu: Correctly unlock root node in rcu_check_gp_start_stall()
On systems whose rcu_node tree has only one node, the rcu_check_gp_start_stall() function's values of rnp and rnp_root will be identical. In this case, it clearly does not make sense to release both rnp->lock and rnp_root->lock, but that is exactly what this function does in the last early exit. This commit therefore unlocks only rnp->lock when rnp and rnp_root are equal. Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org> Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'drivers/pnp/quirks.c')
0 files changed, 0 insertions, 0 deletions