linux/arch/um
Jeff Dike 9ac625a398 uml: fix spurious IRQ testing
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>
2007-11-14 18:45:43 -08:00
..
drivers uml: fix incompatible types warning in previous SG fix 2007-11-05 15:12:32 -08:00
include uml: fix stub address calculations 2007-10-16 09:43:09 -07:00
kernel uml: fix spurious IRQ testing 2007-11-14 18:45:43 -08:00
os-Linux uml: fix recvmsg return value checking 2007-11-14 18:45:37 -08:00
scripts uml: throw out CONFIG_MODE_TT 2007-10-16 09:43:05 -07:00
sys-i386 misc uml annotation and section fixes 2007-10-29 07:41:32 -07:00
sys-ia64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sys-ppc kbuild: enable 'make AFLAGS=...' to add additional options to AS 2007-10-15 21:59:31 +02:00
sys-x86_64 misc uml annotation and section fixes 2007-10-29 07:41:32 -07:00
defconfig uml: fix stub address calculations 2007-10-16 09:43:09 -07:00
Kconfig typo fixes 2007-10-20 01:34:40 +02:00
Kconfig.char uml: style fixes pass 1 2007-10-16 09:43:05 -07:00
Kconfig.debug uml: style fixes pass 1 2007-10-16 09:43:05 -07:00
Kconfig.i386 more x86 merge fallout (uml, again) 2007-10-29 07:41:32 -07:00
Kconfig.net uml: add VDE networking support 2007-10-16 09:43:05 -07:00
Kconfig.x86_64 uml: fix stub address calculations 2007-10-16 09:43:09 -07:00
Makefile uml: fix symlink loops 2007-11-14 18:45:37 -08:00
Makefile-i386 UML: fix defconfig build again 2007-11-06 13:57:03 -08:00
Makefile-ia64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-os-Linux kbuild: enable 'make CFLAGS=...' to add additional options to CC 2007-10-14 22:21:35 +02:00
Makefile-ppc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-skas [PATCH] uml makefiles sanitized 2005-09-29 08:46:26 -07:00
Makefile-tt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-x86_64 x86 merge fallout: uml 2007-10-29 07:41:32 -07:00