aboutsummaryrefslogtreecommitdiffstats
path: root/arch/tile/kernel/setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tile/kernel/setup.c')
-rw-r--r--arch/tile/kernel/setup.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel/setup.c
index dd87f3420390..6d179dfcc15e 100644
--- a/arch/tile/kernel/setup.c
+++ b/arch/tile/kernel/setup.c
@@ -1344,6 +1344,7 @@ void __init setup_arch(char **cmdline_p)
1344 1344
1345 1345
1346#ifdef CONFIG_PCI 1346#ifdef CONFIG_PCI
1347#if !defined (__tilegx__)
1347 /* 1348 /*
1348 * Initialize the PCI structures. This is done before memory 1349 * Initialize the PCI structures. This is done before memory
1349 * setup so that we know whether or not a pci_reserve region 1350 * setup so that we know whether or not a pci_reserve region
@@ -1351,6 +1352,7 @@ void __init setup_arch(char **cmdline_p)
1351 */ 1352 */
1352 if (tile_pci_init() == 0) 1353 if (tile_pci_init() == 0)
1353 pci_reserve_mb = 0; 1354 pci_reserve_mb = 0;
1355#endif
1354 1356
1355 /* PCI systems reserve a region just below 4GB for mapping iomem. */ 1357 /* PCI systems reserve a region just below 4GB for mapping iomem. */
1356 pci_reserve_end_pfn = (1 << (32 - PAGE_SHIFT)); 1358 pci_reserve_end_pfn = (1 << (32 - PAGE_SHIFT));
@@ -1379,6 +1381,10 @@ void __init setup_arch(char **cmdline_p)
1379 setup_cpu(1); 1381 setup_cpu(1);
1380 setup_clock(); 1382 setup_clock();
1381 load_hv_initrd(); 1383 load_hv_initrd();
1384
1385#if defined(CONFIG_PCI) && defined (__tilegx__)
1386 tile_pci_init();
1387#endif
1382} 1388}
1383 1389
1384 1390