]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit07f86c03fec711692121bf7f5316e0b3426acc05
treeaab7f5e040c454c69b786cc99809640d110daf60
parent6769140d304731f0a3b177470a2adb4bacd9036b
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