diff options
author | Daniel Ritz <[email protected]> | 2005-09-09 13:03:23 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2005-09-09 13:57:47 -0700 |
commit | bf4de6f2db79f3c396bd884f546cd2ea91a686f2 (patch) | |
tree | 6d2dc0b8ba8b91ea75d57c018d3958142c25eaef /scripts/basic/docproc.c | |
parent | b3743fa4442fc172e950ff0eaf6aa96e7d5ce9be (diff) |
[PATCH] pcmcia/cs: fix possible missed wakeup
- thread_done should only be completed when the wait_queue is installed.
- all wake up conditions should be checked before schedule()
this fixes a hang of rmmod in the sequence modprobe yenta_socket; rmmod
yenta_socket as reported by Andreas Steinmetz. w/o this rmmod yenta_socket
can hang on wait_for_completion() in pcmcia_unregister_socket()
Signed-off-by: Daniel Ritz <[email protected]>
Cc: Dominik Brodowski <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions