]> bbs.cooldavid.org Git - net-next-2.6.git/commit
riscom8: kill use of lock_kernel
authorAlan Cox <alan@linux.intel.com>
Tue, 1 Jun 2010 20:52:43 +0000 (22:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 20:47:40 +0000 (13:47 -0700)
commitbf936f92a7a564a2cdb44bbe3bc797cd811bf625
tree248f4515b8bcb0ea7d8b585ed5eaf0d1f66c0e6b
parent8a1e803d0148e320b9200a442dfb88f8cbde88e7
riscom8: kill use of lock_kernel

The riscom8 board uses lock_kernel to protect bits of the port setting
ioctl logic. We can use the port mutex for this as the logic is internal
and will also lock set versus open (a locking property that has been lost
somewhere along the way)

Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/riscom8.c