diff options
author | Alan Cox <alan@linux.intel.com> | 2009-11-30 13:18:24 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 15:18:08 -0800 |
commit | e8c62103fd5fecc8d2086bae244b32d089892175 (patch) | |
tree | b87fe3662714c89f38cddd6b7fafc4b60e8b2642 /drivers/char/tty_ldisc.c | |
parent | f710ebd7f70801e31751f2c49fe4b92a477d24eb (diff) | |
download | kernel_samsung_tuna-e8c62103fd5fecc8d2086bae244b32d089892175.zip kernel_samsung_tuna-e8c62103fd5fecc8d2086bae244b32d089892175.tar.gz kernel_samsung_tuna-e8c62103fd5fecc8d2086bae244b32d089892175.tar.bz2 |
tty: moxa: split open lock
moxa_openlock is used for several situations where we want to handle the
case of an ioctl that crosses many ports (not just the open tty), and also
cases where an open races a deinit (eg a pci unplug) and we hangup a port
before we can cope with that.
The non open race cases can use the moxa_lock spinlock. This simplifies sorting
out the remaining mess.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/char/tty_ldisc.c')
0 files changed, 0 insertions, 0 deletions