]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Disable interrupts while taking phb->lock
authorMichael Ellerman <michael@ellerman.id.au>
Sun, 12 Feb 2012 14:28:20 +0000 (14:28 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 14 Feb 2012 04:01:39 +0000 (15:01 +1100)
commitaec081b3751f2bea4a0a7cd98916abac29439acb
tree203de9ee9f2ff6157c0f602f9cad0d3e254dff50
parent24f88d9a66fac218325b289c5232b171b98ed51c
powerpc/powernv: Disable interrupts while taking phb->lock

We need to disable interrupts when taking the phb->lock. Otherwise
we could deadlock with pci_lock taken from an interrupt.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/pci.c