tty: Use non-atomic state to signal flip buffer flush pending
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 15 Jun 2013 13:36:13 +0000 (09:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 23:47:09 +0000 (16:47 -0700)
commit0f56bd2f6a97d8b0eb5c8f9bc04b83a6c16d1d48
tree70337a7fd95f71d5f39aa9d168c09be2ff3465a1
parent8c1fb49ba107c7db9441ef6ec0ab5830d112cc2a
tty: Use non-atomic state to signal flip buffer flush pending

Atomic bit ops are no longer required to indicate a flip buffer
flush is pending, as the flush_mutex is sufficient barrier.

Remove the unnecessary port .iflags field and localize flip buffer
state to struct tty_bufhead.

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