|
@@ -363,7 +363,7 @@ static inline void smp_prepare_cpus(unsigned int maxcpus) { }
|
|
|
|
|
|
#else
|
|
#else
|
|
|
|
|
|
-#ifdef __GENERIC_PER_CPU
|
|
|
|
|
|
+#ifndef CONFIG_ARCH_SETS_UP_PER_CPU_AREA
|
|
unsigned long __per_cpu_offset[NR_CPUS] __read_mostly;
|
|
unsigned long __per_cpu_offset[NR_CPUS] __read_mostly;
|
|
|
|
|
|
EXPORT_SYMBOL(__per_cpu_offset);
|
|
EXPORT_SYMBOL(__per_cpu_offset);
|
|
@@ -384,7 +384,7 @@ static void __init setup_per_cpu_areas(void)
|
|
ptr += size;
|
|
ptr += size;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-#endif /* !__GENERIC_PER_CPU */
|
|
|
|
|
|
+#endif /* CONFIG_ARCH_SETS_UP_CPU_AREA */
|
|
|
|
|
|
/* Called by boot processor to activate the rest. */
|
|
/* Called by boot processor to activate the rest. */
|
|
static void __init smp_init(void)
|
|
static void __init smp_init(void)
|