x86/PCI: only define pci_domain_nr if PCI and PCI_DOMAINS are set
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 17 Aug 2010 16:15:24 +0000 (09:15 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 17 Aug 2010 16:29:36 +0000 (09:29 -0700)
commit23b90cfd7bcf8ae1c0711df1cae7dfec3c01aec8
treeec09c9fbfa2f2545dd6c52933e709f8b9712345a
parent92298e668372f2f6c8a79fb272f13d65161a4876
x86/PCI: only define pci_domain_nr if PCI and PCI_DOMAINS are set

Otherwise we'll duplicate definitions with the pci.h stubs.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/x86/include/asm/pci.h