]> git.baikalelectronics.ru Git - kernel.git/commit
sparc: Remove BKL from apc
authorThomas Gleixner <tglx@linutronix.de>
Tue, 3 Nov 2009 05:15:59 +0000 (21:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Nov 2009 05:15:59 +0000 (21:15 -0800)
commite68066229ea9469810e1853af81bd65be413841a
treee04ebe81ea1ba8a04a070cf7b29d80ef1e99beb2
parent8df9e57c1b251323811521d19f5526b068295d8b
sparc: Remove BKL from apc

commit 699ff0da (sparc: arch/sparc/kernel/apc.c to unlocked_ioctl)
added lock/unlock_kernel() to the apc ioctl code.

The code needs no serialization at all. Neither put/get_user nor the
read/write access to the sbus devices require it. Remove BKL.

cycle_kernel_lock() was added during the big BKL pushdown. It should
ensure the serializiation against driver init code. In this case there
is nothing to serialize. Remove it as well.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/apc.c