]> err.no Git - linux-2.6/commit
[PATCH] ipmi: use rcu lock for using command receivers
authorCorey Minyard <minyard@acm.org>
Mon, 7 Nov 2005 09:00:05 +0000 (01:00 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:45 +0000 (07:53 -0800)
commite61fb5b65150ace7192d1f0ce840fe4cd6285e73
treea27e4abb158e28cfba2425cda49509e3a5b61144
parente9a705a0a0ed99833cfef40d509f63a052638f00
[PATCH] ipmi: use rcu lock for using command receivers

Use rcu_read_lock for the cmd_rcvrs list, since that was what what
intended, anyway.  This means that all the users of the cmd_rcvrs_lock are
tasks, so the irq disables are no longer required for that lock and it can
become a semaphore.

Signed-off-by: Corey Minyard <minyard@acm.org>
Acked-by: "Paul E. McKenney" <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/ipmi/ipmi_msghandler.c