don't need copy_secondary_start_to_1m_below for non-smp
authorYinghai Lu <yinghailu@gmail.com>
Mon, 9 Jan 2006 20:42:50 +0000 (20:42 +0000)
committerYinghai Lu <yinghailu@gmail.com>
Mon, 9 Jan 2006 20:42:50 +0000 (20:42 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2158 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/cpu/x86/lapic/lapic_cpu_init.c

index 312b016db55d6aa93461ef429089a934dff566db..d7f7124debe33ab56b37cc7b533d0ac6f73d47b6 100644 (file)
@@ -377,7 +377,9 @@ void initialize_cpus(struct bus *cpu_bus)
        /* Find the device structure for the boot cpu */
        info->cpu = alloc_find_dev(cpu_bus, &cpu_path);
 
+#if CONFIG_SMP == 1
        copy_secondary_start_to_1m_below(); // why here? In case some day we can start core1 in amd_sibling_init
+#endif
        
        /* Initialize the bootstrap processor */
        cpu_initialize();