Peter Hurley
d41861ca19
tty: Replace ASYNC_INITIALIZED bit and update atomically
...
Replace ASYNC_INITIALIZED bit in the tty_port::flags field with
TTY_PORT_INITIALIZED bit in the tty_port::iflags field. Introduce helpers
tty_port_set_initialized() and tty_port_initialized() to abstract
atomic bit ops.
Note: the transforms for test_and_set_bit() and test_and_clear_bit()
are unnecessary as the state transitions are already mutually exclusive;
the tty lock prevents concurrent open/close/hangup.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2016-04-30 09:26:55 -07:00
..
2016-03-10 19:51:29 +01:00
2016-03-10 20:54:09 -05:00
2016-03-17 21:05:01 -04:00
2016-02-18 14:59:34 -05:00
2015-11-30 14:47:33 -05:00
2016-03-09 22:13:01 -05:00
2016-03-02 13:45:47 -05:00
2016-03-19 10:05:34 -07:00
2016-04-13 01:16:57 +02:00
2016-03-14 13:09:50 -04:00
2015-10-13 17:42:34 +02:00
2016-04-04 10:41:08 -07:00
2016-04-15 23:20:11 -04:00
2015-10-09 07:52:27 -07:00
2016-03-17 21:06:40 -04:00
2016-04-10 23:01:30 -04:00
2015-11-18 16:27:46 -05:00
2016-03-14 16:05:32 -04:00
2016-02-24 13:58:05 -05:00
2015-11-23 14:56:15 -05:00
2016-02-23 20:29:40 +01:00
2016-04-21 14:40:55 -04:00
2016-04-14 16:29:53 -04:00
2016-04-30 09:26:55 -07:00
2016-01-19 14:21:08 -05:00
2016-03-09 16:36:15 -05:00
2015-10-23 03:05:19 -07:00
2016-04-04 16:00:28 -04:00
2016-02-26 14:22:26 -05:00
2016-02-17 16:12:13 -05:00
2016-04-06 15:10:25 +02:00
2016-03-19 10:05:34 -07:00
2016-04-08 12:43:20 -04:00
2016-04-07 18:42:37 +02:00
2016-03-07 11:08:26 -05:00
2016-04-10 23:32:23 -04:00
2015-06-18 21:14:32 +02:00
2016-03-19 10:05:34 -07:00
2016-04-21 15:28:47 -04:00
2016-04-14 00:46:39 -04:00
2016-02-11 03:54:14 -05:00
2016-04-16 19:01:05 -04:00
2016-03-01 17:03:27 -05:00
2015-06-24 02:58:51 -07:00
2016-03-19 10:05:34 -07:00
2016-04-14 01:28:51 -04:00
2016-04-10 22:22:34 -04:00
2016-04-14 18:15:40 -07:00
2016-03-24 14:51:24 -04:00
2016-04-11 15:22:20 -04:00
2016-02-23 00:09:14 -05:00
2016-04-19 20:42:01 -04:00
2015-08-09 22:43:52 -07:00
2016-04-12 15:39:06 +02:00
2016-03-24 14:29:36 -04:00
2016-03-21 22:56:38 -04:00
2016-03-09 16:36:14 -05:00
2016-03-14 12:41:49 -04:00
2015-10-23 06:22:08 -07:00