]> err.no Git - linux-2.6/commit
ipmi: convert locked counters to atomics
authorKonstantin Baydarov <kbaidarov@ru.mvista.com>
Tue, 29 Apr 2008 08:01:05 +0000 (01:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:14 +0000 (08:06 -0700)
commitb2655f2615e92e92ca3d55132b32776f1fe1a05c
tree09a92d8e56dd2742cdd33bc885cfc6d5187f55c7
parentf7caa1b51fa526586c9d9a4582b5f8af440909d7
ipmi: convert locked counters to atomics

Atomics are a lot more efficient and neat than using a lock.

Signed-off-by: Konstantin Baydarov <kbaidarov@ru.mvista.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ipmi/ipmi_msghandler.c