mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
Merge "net: qrtr: Add dynamic node id configuration"
This commit is contained in:
commit
fde620feb9
2 changed files with 12 additions and 1 deletions
|
|
@ -15,6 +15,17 @@ config QRTR
|
|||
|
||||
if QRTR
|
||||
|
||||
config QRTR_NODE_ID
|
||||
int "QRTR Local Node ID"
|
||||
default 1
|
||||
help
|
||||
This option is used to configure the QRTR Node ID for the local
|
||||
processor. The node ID published to other nodes within the system.
|
||||
This value can be overridden by the name service application. This
|
||||
option is for configurations where Node ID needs to be customized
|
||||
but the name service application is not priveleged enough to use
|
||||
netlink sockets.
|
||||
|
||||
config QRTR_SMD
|
||||
tristate "SMD IPC Router channels"
|
||||
depends on RPMSG || (COMPILE_TEST && RPMSG=n)
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ static inline struct qrtr_sock *qrtr_sk(struct sock *sk)
|
|||
return container_of(sk, struct qrtr_sock, sk);
|
||||
}
|
||||
|
||||
static unsigned int qrtr_local_nid = NUMA_NO_NODE;
|
||||
static unsigned int qrtr_local_nid = CONFIG_QRTR_NODE_ID;
|
||||
|
||||
/* for node ids */
|
||||
static RADIX_TREE(qrtr_nodes, GFP_ATOMIC);
|
||||
|
|
|
|||
Loading…
Reference in a new issue