powerpc/powernv: Use MSI bitmap to manage IRQs
authorGavin Shan <shangw@linux.vnet.ibm.com>
Tue, 5 Mar 2013 21:12:37 +0000 (21:12 +0000)
committerMichael Ellerman <michael@ellerman.id.au>
Thu, 18 Apr 2013 03:03:59 +0000 (13:03 +1000)
commitfb1b55d654a7038ca6337fbf55839a308c9bc1a7
tree00d57b0dedb5aac0c6ef7c4e5ebc69fb4c43f17c
parent2a3563b023e5f99e1ec48b66b4caeac94584e7c7
powerpc/powernv: Use MSI bitmap to manage IRQs

As Michael Ellerman mentioned, arch/powerpc/sysdev/msi_bitmap.c
already implemented bitmap to manage (alloc/free) MSI interrupts.
The patch intends to use that mechanism to manage MSI interrupts
for PowerNV platform.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
arch/powerpc/platforms/powernv/pci-ioda.c
arch/powerpc/platforms/powernv/pci-p5ioc2.c
arch/powerpc/platforms/powernv/pci.c
arch/powerpc/platforms/powernv/pci.h