From 9ac625a3986034d79938baf9604210280fae35fa Mon Sep 17 00:00:00 2001 From: Jeff Dike Date: Wed, 14 Nov 2007 17:00:23 -0800 Subject: [PATCH] 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-format-patch failed