From: Peter Hurley Date: Sat, 15 Jun 2013 13:36:10 +0000 (-0400) Subject: tty: Ensure single-threaded flip buffer consumer with mutex X-Git-Tag: v3.12-rc1~182^2~188 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9975fdec0138f1b2a85b9624e41660abd9865d4;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed