]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0aa3187c354682fd4c99579a93b808ec695726cb
treeec09c9fbfa2f2545dd6c52933e709f8b9712345a
parente30cd8c8307479a8fe2ea4d62ecd5b66e85acc4e
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