diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2013-06-15 15:36:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-24 01:47:09 +0200 |
commit | e9975fdec0138f1b2a85b9624e41660abd9865d4 (patch) | |
tree | 6c90bac37cfe6843b4e78cb9280aa10524da351d /drivers/md/md.h | |
parent | tty: Make driver-side flip buffers lockless (diff) | |
download | linux-e9975fdec0138f1b2a85b9624e41660abd9865d4.tar.xz linux-e9975fdec0138f1b2a85b9624e41660abd9865d4.zip |
tty: Ensure single-threaded flip buffer consumer with mutex
The buffer work may race with parallel tty_buffer_flush. Use a
mutex to guarantee exclusive modify access to the head flip
buffer.
Remove the unneeded spin lock.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md/md.h')
0 files changed, 0 insertions, 0 deletions