cris: autoconvert trivial BKL users
authorArnd Bergmann <arnd@arndb.de>
Sat, 11 Sep 2010 16:18:22 +0000 (18:18 +0200)
committerArnd Bergmann <arnd@arndb.de>
Sun, 26 Sep 2010 14:25:55 +0000 (16:25 +0200)
All uses of the big kernel lock in the cris architecture
are for ioctl and open functions of character device drivers,
which can be trivially converted to a per-driver mutex.

Most of these are probably unnecessary, so it may make sense
to audit them and eventually remove the extra mutex introduced
by this patch.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: linux-cris-kernel@axis.com

No differences found