stallion: prune lock_kernel calls
authorAlan Cox <alan@linux.intel.com>
Tue, 1 Jun 2010 20:52:41 +0000 (22:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 20:47:40 +0000 (13:47 -0700)
commitb4eda9cb48eac1b7369ad33e5d015c33b4376431
tree0faa2f1af52804731765b3793436c0b00956fe2e
parent8fd4bd22350784d5b2fe9274f6790ba353976415
stallion: prune lock_kernel calls

Remove unneeded tty layer lock kernel bits. Relock the needed bits using the
port mutex. The istallion still has brd state races but those are not new
or introduced by the removal of the lock_kernel logic.

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/istallion.c
drivers/char/stallion.c