From: Vladimir Sokolovsky Date: Tue, 11 Jan 2011 01:42:06 +0000 (-0800) Subject: IB/mlx4: Don't call dma_free_coherent() with irqs disabled X-Git-Tag: v2.6.38-rc1~406^2^4~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3afa9f19e5bd16abed998b7bf1b178206403286f;p=pandora-kernel.git IB/mlx4: Don't call dma_free_coherent() with irqs disabled mlx4_ib_free_cq_buf() should not be called under spin_lock_irq() since it calls dma_free_coherent(), which needs irqs enabled. Fix this by deferring the free to outside the locked region. This was found due to the WARN_ON(irqs_disabled()); in swiotlb_free_coherent(). Signed-off-by: Vladimir Sokolovsky Signed-off-by: Roland Dreier --- Reading git-diff-tree failed