aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/85xx/mpc85xx_ds.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/85xx/mpc85xx_ds.c')
-rw-r--r--arch/powerpc/platforms/85xx/mpc85xx_ds.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_ds.c b/arch/powerpc/platforms/85xx/mpc85xx_ds.c
index 2113120c5a7..3f66631103c 100644
--- a/arch/powerpc/platforms/85xx/mpc85xx_ds.c
+++ b/arch/powerpc/platforms/85xx/mpc85xx_ds.c
@@ -35,6 +35,7 @@
35 35
36#include <sysdev/fsl_soc.h> 36#include <sysdev/fsl_soc.h>
37#include <sysdev/fsl_pci.h> 37#include <sysdev/fsl_pci.h>
38#include "smp.h"
38 39
39#include "mpc85xx.h" 40#include "mpc85xx.h"
40 41
@@ -154,9 +155,6 @@ static int mpc85xx_exclude_device(struct pci_controller *hose,
154/* 155/*
155 * Setup the architecture 156 * Setup the architecture
156 */ 157 */
157#ifdef CONFIG_SMP
158extern void __init mpc85xx_smp_init(void);
159#endif
160static void __init mpc85xx_ds_setup_arch(void) 158static void __init mpc85xx_ds_setup_arch(void)
161{ 159{
162#ifdef CONFIG_PCI 160#ifdef CONFIG_PCI
@@ -189,9 +187,7 @@ static void __init mpc85xx_ds_setup_arch(void)
189 ppc_md.pci_exclude_device = mpc85xx_exclude_device; 187 ppc_md.pci_exclude_device = mpc85xx_exclude_device;
190#endif 188#endif
191 189
192#ifdef CONFIG_SMP
193 mpc85xx_smp_init(); 190 mpc85xx_smp_init();
194#endif
195 191
196#ifdef CONFIG_SWIOTLB 192#ifdef CONFIG_SWIOTLB
197 if (memblock_end_of_DRAM() > max) { 193 if (memblock_end_of_DRAM() > max) {