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)
commit0890b5880df6a4989336add11f3a22122b26d9e1
treef35644d8e6730b72aeedb61a654a2d06e5610244
parent80eb4a6f89bbf8e8318e108701bad11451efb2df
cris: autoconvert trivial BKL users

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
arch/cris/arch-v10/drivers/ds1302.c
arch/cris/arch-v10/drivers/pcf8563.c
arch/cris/arch-v10/drivers/sync_serial.c
arch/cris/arch-v32/drivers/cryptocop.c
arch/cris/arch-v32/drivers/mach-a3/gpio.c
arch/cris/arch-v32/drivers/mach-fs/gpio.c
arch/cris/arch-v32/drivers/pcf8563.c
arch/cris/arch-v32/drivers/sync_serial.c