diff options
author | Davidlohr Bueso <davidlohr.bueso@hp.com> | 2013-07-08 16:01:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-09 10:33:27 -0700 |
commit | cf9d5d78d05bca96df7618dfc3a5ee4414dcae58 (patch) | |
tree | b03375cb8d7a2482ad659bd9b675589f427c2336 /ipc/msg.c | |
parent | 1ca7003ab41152d673d9e359632283d05294f3d6 (diff) | |
download | renesas_kernel-cf9d5d78d05bca96df7618dfc3a5ee4414dcae58.tar.gz renesas_kernel-cf9d5d78d05bca96df7618dfc3a5ee4414dcae58.tar.bz2 renesas_kernel-cf9d5d78d05bca96df7618dfc3a5ee4414dcae58.zip |
ipc: close open coded spin lock calls
Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/msg.c')
-rw-r--r-- | ipc/msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/msg.c b/ipc/msg.c index 996feb81924..7a3d6aab369 100644 --- a/ipc/msg.c +++ b/ipc/msg.c @@ -216,7 +216,7 @@ static int newque(struct ipc_namespace *ns, struct ipc_params *params) INIT_LIST_HEAD(&msq->q_receivers); INIT_LIST_HEAD(&msq->q_senders); - spin_unlock(&msq->q_perm.lock); + ipc_unlock_object(&msq->q_perm); rcu_read_unlock(); return msq->q_perm.id; |