From: Alexander Gordeev Date: Thu, 13 Feb 2014 14:25:02 +0000 (+0100) Subject: PCI/MSI: Add pci_enable_msi_exact() and pci_enable_msix_exact() X-Git-Tag: v3.15-rc1~143^2~9^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7fc32cb2073902b3ee67d036656889ea75ffcb7;p=pandora-kernel.git PCI/MSI: Add pci_enable_msi_exact() and pci_enable_msix_exact() The new functions are special cases for pci_enable_msi_range() and pci_enable_msix_range() when a particular number of MSI or MSI-X is needed. By contrast with pci_enable_msi_range() and pci_enable_msix_range() functions, pci_enable_msi_exact() and pci_enable_msix_exact() return zero in case of success, which indicates MSI or MSI-X interrupts have been successfully allocated. Signed-off-by: Alexander Gordeev Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed