Jiri Slaby 6af9a43d58 tty: fix tty_port_block_til_ready waiting
Since commit 3e3b5c087799e536871c8261b05bc28e4783c8da ("tty: use
prepare/finish_wait"), tty_port_block_til_ready() is using
prepare_to_wait()/finish_wait().  Those functions require that the
wait_queue_t be initialised with .func=autoremove_wake_function, via
DEFINE_WAIT().

But the conversion from DECLARE_WAITQUEUE() to DEFINE_WAIT() was not made,
so this code will oops in finish_wait().

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-24 09:55:50 -07:00
..
2009-06-11 08:51:01 -07:00
2009-06-22 11:32:24 -07:00
2009-05-20 08:30:05 +10:00
2008-06-20 14:05:55 -06:00
2008-12-13 11:25:49 -08:00
2009-06-11 08:51:01 -07:00
2008-10-20 08:52:41 -07:00
2008-12-13 09:12:07 +00:00
2009-06-19 16:46:06 -07:00
2009-06-11 08:51:01 -07:00
2008-07-20 17:12:36 -07:00
2009-04-07 08:31:03 -07:00
2008-06-20 14:05:57 -06:00
2009-06-18 11:16:55 +10:00
2009-01-02 10:28:32 -08:00
2009-06-18 13:03:54 -07:00
2008-06-20 14:05:48 -06:00
2008-02-07 08:42:25 -08:00
2008-04-30 08:29:43 -07:00
2008-07-24 10:47:14 -07:00
2009-06-22 11:32:24 -07:00
2009-06-22 11:32:23 -07:00
2009-01-02 10:19:40 -08:00
2009-06-18 13:03:54 -07:00
2009-06-16 12:01:16 -07:00
2008-07-20 17:12:38 -07:00
2009-06-11 08:50:58 -07:00
2009-01-08 16:44:03 -07:00
2009-02-22 09:23:02 -08:00
2009-06-11 08:51:01 -07:00
2009-01-02 10:19:40 -08:00
2009-03-16 08:34:35 -06:00
2008-07-20 17:12:38 -07:00
2009-06-18 13:03:59 -07:00
2008-06-20 14:05:51 -06:00
2008-04-30 23:15:34 +02:00
2009-06-11 08:51:02 -07:00
2009-06-16 12:01:16 -07:00
2009-06-16 12:01:16 -07:00
2008-10-16 16:52:05 +02:00
2009-06-22 11:32:24 -07:00