tty: Replace smp_rmb/smp_wmb with smp_load_acquire/smp_store_release
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 13 Jul 2015 00:50:49 +0000 (20:50 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jul 2015 01:23:56 +0000 (18:23 -0700)
commit069f38b4983efaea92cbe7cc0cacc057af55739a
treee6799228488e07a49b7a90bbdbab74ad246efdca
parente5eb517dd80e4da3055895f8aa3547c2bfd5e675
tty: Replace smp_rmb/smp_wmb with smp_load_acquire/smp_store_release

Clarify flip buffer producer/consumer operation; the use of
smp_load_acquire() and smp_store_release() more clearly indicates
which memory access requires a barrier.

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