x86/cpu: Ensure that CPU info updates are propagated on UP
[sfrench/cifs-2.6.git] / arch / x86 / kernel / setup.c
index 3e1e96efadfe7ec8fe5a5499529a9d2913e10722..ef206500ed6f22e11228ebfb6f4537343a064076 100644 (file)
@@ -1206,16 +1206,6 @@ void __init i386_reserve_resources(void)
 
 #endif /* CONFIG_X86_32 */
 
-#ifndef CONFIG_SMP
-void __init smp_prepare_boot_cpu(void)
-{
-       struct cpuinfo_x86 *c = &cpu_data(0);
-
-       *c = boot_cpu_data;
-       c->initialized = true;
-}
-#endif
-
 static struct notifier_block kernel_offset_notifier = {
        .notifier_call = dump_kernel_offset
 };