From: Ralph Campbell Date: Fri, 27 Apr 2007 18:11:11 +0000 (-0700) Subject: IB/ipath: Don't call spin_lock_irq() from interrupt context X-Git-Tag: v2.6.22-rc1~824^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35ff032e65ab5cc03bbba46cefece7376c7c562f;p=pandora-kernel.git IB/ipath: Don't call spin_lock_irq() from interrupt context This patch fixes the problem reported by Bernd Schubert with kernel debug options enabled: BUG: at kernel/lockdep.c:1860 trace_hardirqs_on() This was caused by using spin_lock_irq()/spin_unlock_irq() from interrupt context. Fix all the places that might be called from interrupts to use spin_lock_irqsave()/spin_unlock_irqrestore(). Signed-off-by: Ralph Campbell Signed-off-by: Roland Dreier --- Reading git-diff-tree failed