n_tty: Eliminate echo_commit memory barrier
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 14:04:25 +0000 (10:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jul 2013 00:02:21 +0000 (17:02 -0700)
commit019ebdf9f26fd2e43b9e1af576835183e95dc82e
tree805b142ccd2147b65b9ec609057f51c07e55be7c
parent17bd79074003d73f2207289b9d3ce0553d000856
n_tty: Eliminate echo_commit memory barrier

Use output_lock mutex as a memory barrier when storing echo_commit.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c