net: qrtr: Migrate node lookup tree to spinlock
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 14 Jan 2020 07:57:01 +0000 (23:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2020 02:36:42 +0000 (18:36 -0800)
commit0a7e0d0ef05440db03c3199e84d228db943b237f
treeb486a8fd36e23a0271c0185ad4ad8a05577a5420
parent5fdeb0d372ab33b4175043a2a4a1730239a217f1
net: qrtr: Migrate node lookup tree to spinlock

Move operations on the qrtr_nodes radix tree under a separate spinlock
and make the qrtr_nodes tree GFP_ATOMIC, to allow operation from atomic
context in a subsequent patch.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/qrtr/qrtr.c