commit | 54ad64129cc166b9eec7151f3f9fc83589e33555 | [log] [tgz] |
---|---|---|
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | Fri May 30 10:03:32 2008 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Fri May 30 10:03:35 2008 +0200 |
tree | 62653aafec6b61da39a58c4cac2c1b5e37860df1 | |
parent | c80ee724966a8ce9a68020d9095233fb1c6f57e8 [diff] |
[S390] 3270: fix race with stack local wait_queue_head_t. A wait_event call with a stack local wait_queue_head_t structure that is used to do the wake up for the wait_event is inherently racy. After the wait_event finished the wake_up call might not have completed yet. Remove the stack local wait_queue_head_t from raw3270_start_init and use the global raw3270_wait_queue instead. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>