summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/pcmcia_resource.c
diff options
context:
space:
mode:
authorDaniel Ritz2005-09-09 22:03:23 +0200
committerLinus Torvalds2005-09-09 22:57:47 +0200
commitbf4de6f2db79f3c396bd884f546cd2ea91a686f2 (patch)
tree6d2dc0b8ba8b91ea75d57c018d3958142c25eaef /drivers/pcmcia/pcmcia_resource.c
parent[PATCH] yenta: share code with PCI core (diff)
downloadkernel-qcow2-linux-bf4de6f2db79f3c396bd884f546cd2ea91a686f2.tar.gz
kernel-qcow2-linux-bf4de6f2db79f3c396bd884f546cd2ea91a686f2.tar.xz
kernel-qcow2-linux-bf4de6f2db79f3c396bd884f546cd2ea91a686f2.zip
[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 <daniel.ritz@gmx.ch> Cc: Dominik Brodowski <linux@brodo.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/pcmcia/pcmcia_resource.c')
0 files changed, 0 insertions, 0 deletions