Searched hist:"49 ab972aea7fca7b94f9df0f1f077fdab40a825d" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/sparc/kernel/ |
H A D | apc.c | diff 49ab972aea7fca7b94f9df0f1f077fdab40a825d Mon Nov 02 23:15:59 CST 2009 Thomas Gleixner <tglx@linutronix.de> sparc: Remove BKL from apc
commit ab772027 (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>
|