tipc: convert config_lock from spinlock to mutex
authorYing Xue <ying.xue@windriver.com>
Mon, 17 Jun 2013 14:54:45 +0000 (10:54 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jun 2013 22:53:01 +0000 (15:53 -0700)
commit28e5297281ab85d636aa814a9b65cfb99375d092
tree3e346d9754e58bc805740d91009ef1d0de4b06a3
parent3c5db8e4eca36e4f312b49bba99f4c1f6ce0563a
tipc: convert config_lock from spinlock to mutex

As the configuration server is now running under process context,
it's unnecessary for us to have a spinlock serializing the TIPC
configuration process. Instead, we replace it with a mutex lock,
which gives us more freedom. For instance, we can now call
pre-emptable functions within the protected area.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/config.c