From: Martin Schwidefsky Date: Fri, 30 May 2008 08:03:32 +0000 (+0200) Subject: [S390] 3270: fix race with stack local wait_queue_head_t. X-Git-Tag: v2.6.26-rc5~35^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54ad64129cc166b9eec7151f3f9fc83589e33555;p=pandora-kernel.git [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 --- Reading git-diff-tree failed