]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit84a22849d5a8e3685519c98bd1bc01366d384bcd
tree70337a7fd95f71d5f39aa9d168c09be2ff3465a1
parentd44cbf6db1a43f1217e4f372f4715ed228a52718
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