]> git.baikalelectronics.ru Git - kernel.git/commit
sh: Remove BKL from landisk gio.
authorThomas Gleixner <tglx@linutronix.de>
Fri, 16 Oct 2009 05:42:33 +0000 (14:42 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 16 Oct 2009 05:42:33 +0000 (14:42 +0900)
commitbf5c2bb26049cbf7447888819a40efe6a0cacd50
treeb483cbf3af528e66829a4e18bbceb9ab52a0f81b
parenta8004f6f1affb3cc582e5c64f0eaaf930d394a50
sh: Remove BKL from landisk gio.

The open function got the BKL via the big push down. Replace it by
preempt_enable/disable as this is sufficient for an UP machine.

The ioctl can be unlocked because there is no functionality which
requires serialization. The usage by multiple callers is broken with
and without the BKL due to the local static variable addr.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/mach-landisk/gio.c