Revision 9ac625a3986034d79938baf9604210280fae35fa authored by Jeff Dike on 15 November 2007, 01:00:23 UTC, committed by Linus Torvalds on 15 November 2007, 02:45:43 UTC
The spurious IRQ testing in request_irq is mishandled in um_request_irq, which sets the incoming file descriptors non-blocking only after request_irq succeeds. This results in the spurious irq calling read on a blocking descriptor, and a hang. Fixed by reversing the O_NONBLOCK setting and the request_irq call. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 7c06a8d
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 282 bytes |
compat.c | -rw-r--r-- | 17.0 KB |
compat_mq.c | -rw-r--r-- | 4.0 KB |
ipc_sysctl.c | -rw-r--r-- | 4.1 KB |
mqueue.c | -rw-r--r-- | 29.8 KB |
msg.c | -rw-r--r-- | 21.1 KB |
msgutil.c | -rw-r--r-- | 2.3 KB |
sem.c | -rw-r--r-- | 34.3 KB |
shm.c | -rw-r--r-- | 27.4 KB |
util.c | -rw-r--r-- | 20.9 KB |
util.h | -rw-r--r-- | 5.7 KB |
Computing file changes ...