diff options
author | 2009-11-30 13:18:02 +0000 | |
---|---|---|
committer | 2009-12-11 15:18:07 -0800 | |
commit | a808ac0c4a2c5d81ba38a2a76d4ddc1de40d1539 (patch) | |
tree | 9f00e6494e1ee25d29f979d8723ac361003e03d4 /mm/vmalloc.c | |
parent | tty: moxa: rework the locking a bit (diff) | |
download | wireguard-linux-a808ac0c4a2c5d81ba38a2a76d4ddc1de40d1539.tar.xz wireguard-linux-a808ac0c4a2c5d81ba38a2a76d4ddc1de40d1539.zip |
tty: moxa: Locking clean up
- The open lock is needed to fix up the case of a board reset occuring during
tty open but too early for a sane hangup response.
- The lock can however got for other cases
- Use the port mutex for get/setserial
- Fix up the confused lack of locking on the THROTTLE and other bits in the
private flags. Just use set/test/clear bit and it covers the cases we need
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions