]> git.baikalelectronics.ru Git - kernel.git/commit
tty: mxser: Use the new locking rules to fix setserial properly
authorAlan Cox <alan@linux.intel.com>
Mon, 30 Nov 2009 13:17:41 +0000 (13:17 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Dec 2009 23:18:07 +0000 (15:18 -0800)
commit87d9eeb2a39100759b02f4a17cdebd5a5b0eca13
treeaab7f5e040c454c69b786cc99809640d110daf60
parent47b7d8cfa6ab835d76dd4c99ea6338d612eff41d
tty: mxser: Use the new locking rules to fix setserial properly

Propogate the init/shutdown mutex through the setserial logic. Use the proper
locks for the various bits still using the BKL. Kill the BKL in this driver.

Updated to fix the bug noted by Dan Carpenter

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/mxser.c