mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 19:21:28 +02:00
net: qrtr: Allow isr context to get service details
Allow isr context to get service details. Change-Id: I782a2c80883252ce614a0a05df6d4fc1a1304b32 Signed-off-by: Arun Prakash <app@codeaurora.org> Signed-off-by: Chris Lew <quic_clew@quicinc.com>
This commit is contained in:
parent
e2b39c0d6e
commit
0079417ad7
|
|
@ -87,14 +87,14 @@ static struct qrtr_node *node_get(unsigned int node_id)
|
|||
return node;
|
||||
|
||||
/* If node didn't exist, allocate and insert it to the tree */
|
||||
node = kzalloc(sizeof(*node), GFP_KERNEL);
|
||||
node = kzalloc(sizeof(*node), GFP_ATOMIC);
|
||||
if (!node)
|
||||
return NULL;
|
||||
|
||||
node->id = node_id;
|
||||
xa_init(&node->servers);
|
||||
|
||||
xa_store(&nodes, node_id, node, GFP_KERNEL);
|
||||
xa_store(&nodes, node_id, node, GFP_ATOMIC);
|
||||
|
||||
return node;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user