From: Jeremy Fitzhardinge Date: Fri, 28 May 2010 22:28:27 +0000 (-0700) Subject: xen/evtchn: don't do unbind_from_irqhandler under spinlock X-Git-Tag: v2.6.37-rc4~60^2^3~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f5e554f669098c84c82ce75e7577f7e0f3fccde;p=pandora-kernel.git xen/evtchn: don't do unbind_from_irqhandler under spinlock unbind_from_irqhandler can end up doing /proc operations, which can't happen under a spinlock. So before removing the IRQ handler, disable the irq under the port_user lock (masking the underlying event channel and making sure the irq handler isn't running concurrently and won't start running), then remove the handler without the lock. Signed-off-by: Jeremy Fitzhardinge --- Reading git-diff-tree failed