commit | e9975fdec0138f1b2a85b9624e41660abd9865d4 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Sat Jun 15 09:36:10 2013 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jul 23 16:47:09 2013 -0700 |
tree | 6c90bac37cfe6843b4e78cb9280aa10524da351d | |
parent | e8437d7ecbc50198705331449367d401ebb3181f [diff] |
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>