From: Harvey Yang Date: Tue, 22 Jan 2013 05:31:30 +0000 (+0800) Subject: staging: usbip: use interrupt safe spinlock to avoid potential deadlock. X-Git-Tag: v3.9-rc1~127^2~326 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcf14779280215d1765141ce04c675df3e4301c5;p=pandora-kernel.git staging: usbip: use interrupt safe spinlock to avoid potential deadlock. The function 'usbip_event_add()' may be called in interrupt context on the stub side: 'stub_complete'->'stub_enqueue_ret_unlink'->'usbip_event_add'. In this function it tries to get the lock 'ud->lock', so we should disable irq when we get this lock in process context. Signed-off-by: Harvey Yang Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed