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-04-02 01:17:36 +02:00
2016-03-18 20:06:46 -07:00
2016-03-17 21:38:27 -07:00
2016-04-07 22:23:47 +02:00
2016-03-23 17:52:10 +02:00
2016-04-15 15:44:10 -07:00
2016-03-10 19:51:29 +01:00
2016-04-12 12:35:07 -07:00
2016-04-30 09:26:55 -07:00
2016-03-29 16:31:16 -07:00
2016-04-23 11:45:52 -07:00
2016-04-21 20:57:46 +02:00
2016-03-21 15:50:28 +01:00
2016-04-15 22:13:56 +08:00
2016-03-17 02:30:16 +01:00
2016-04-16 22:52:03 +05:30
2016-03-21 09:26:45 +01:00
2016-04-22 10:10:01 +02:00
2016-04-04 08:32:45 +09:00
2016-03-25 08:52:25 -07:00
2016-04-16 15:37:05 -07:00
2016-04-08 11:49:47 +02:00
2016-04-22 10:39:26 +10:00
2016-04-11 12:31:09 -07:00
2016-03-17 13:47:50 -07:00
2016-03-27 10:37:48 -07:00
2016-04-09 08:36:44 +02:00
2016-03-20 16:59:27 -04:00
2016-04-07 22:11:08 +02:00
2016-04-04 13:45:10 -07:00
2016-04-07 18:16:20 -07:00
2016-04-23 11:04:26 -07:00
2016-04-21 16:47:32 +02:00
2016-04-30 09:26:55 -07:00
2016-04-21 21:04:29 +02:00
2016-04-30 09:26:55 -07:00
2016-03-23 17:20:59 -07:00
2016-04-01 08:58:13 +02:00
2016-03-18 18:10:38 -07:00
2016-04-14 18:40:47 -07:00
2016-04-17 11:24:46 -04:00
2016-04-05 06:47:50 -07:00
2016-03-24 19:57:15 -07:00
2016-03-25 16:37:42 -07:00
2016-03-18 10:15:11 -07:00
2016-04-06 16:22:25 -07:00
2016-04-30 09:26:55 -07:00
2016-04-15 15:25:09 -07:00
2016-04-30 09:26:55 -07:00
2016-03-19 10:05:34 -07:00
2016-03-26 11:44:33 -04:00
2016-04-15 14:59:41 -06:00
2016-04-14 14:04:50 -06:00
2016-03-19 15:15:07 -07:00
2016-04-04 10:41:08 -07:00
2016-03-16 14:45:55 -07:00
2016-04-18 19:52:47 -07:00
2016-03-29 22:48:53 +02:00
2016-04-21 15:03:06 +01:00
2016-04-13 18:33:05 +05:30
2016-04-15 11:26:55 +02:00
2016-04-21 08:23:59 -07:00
2016-03-09 23:50:55 +01:00
2016-03-25 16:55:37 -07:00
2016-04-05 03:44:48 +02:00
2016-03-15 12:13:56 -07:00
2016-04-14 16:54:00 +02:00
2016-04-02 18:35:05 -05:00
2016-03-18 10:15:11 -07:00
2016-03-28 16:19:00 -07:00
2016-04-21 23:21:00 +02:00
2016-04-30 09:26:55 -07:00
2016-04-09 12:00:42 -07:00
2016-03-20 15:40:32 -07:00
2016-04-04 10:05:49 -07:00
2016-04-30 09:26:55 -07:00
2016-03-30 20:06:44 -07:00
2016-04-20 21:13:21 -07:00
2016-04-30 09:26:55 -07:00
2016-04-30 09:26:55 -07:00
2016-03-17 13:05:09 -07:00
2016-03-22 12:41:14 -07:00
2016-04-18 12:18:37 +03:00
2016-04-07 15:16:39 +03:00
2016-03-22 15:36:02 -07:00
2016-04-04 11:18:00 +01:00