diff options
author | Anton Vorontsov <cbouatmailru@gmail.com> | 2010-04-19 08:20:49 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-04-22 16:38:11 -0400 |
commit | 52882173cfed4fabcc1496755000bf022d681e52 (patch) | |
tree | 6f30bfd65acd01fa8eda00df14fd17b318268c73 /arch/arm/kernel | |
parent | e193ba290f0228453341b41ab2bbdd963259f97e (diff) |
ARM: 6058/1: Add support for PCI domains
This patch adds support for PCI domains on ARM platforms.
Also, protect asm/mach/pci.h from multiple inclustions, otherwise
build fails because of pci_domain_nr() and pci_proc_domain()
redefinitions.
Signed-off-by: Anton Vorontsov <avorontsov@mvista.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/bios32.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/kernel/bios32.c b/arch/arm/kernel/bios32.c index bd397e0b663e..c6273a3bfc25 100644 --- a/arch/arm/kernel/bios32.c +++ b/arch/arm/kernel/bios32.c | |||
@@ -527,6 +527,9 @@ static void __init pcibios_init_hw(struct hw_pci *hw) | |||
527 | if (!sys) | 527 | if (!sys) |
528 | panic("PCI: unable to allocate sys data!"); | 528 | panic("PCI: unable to allocate sys data!"); |
529 | 529 | ||
530 | #ifdef CONFIG_PCI_DOMAINS | ||
531 | sys->domain = hw->domain; | ||
532 | #endif | ||
530 | sys->hw = hw; | 533 | sys->hw = hw; |
531 | sys->busnr = busnr; | 534 | sys->busnr = busnr; |
532 | sys->swizzle = hw->swizzle; | 535 | sys->swizzle = hw->swizzle; |