summaryrefslogtreecommitdiff
path: root/src/cpu/x86/lapic
diff options
context:
space:
mode:
authorYinghai Lu <yinghailu@gmail.com>2006-01-09 20:42:50 +0000
committerYinghai Lu <yinghailu@gmail.com>2006-01-09 20:42:50 +0000
commit3a68aeb9033bbf6746236fc9a46e2593a37c4983 (patch)
treec69ed576d0091a0c75e16a94333cedeced0b739a /src/cpu/x86/lapic
parenteef3f955c492f845e8511fa3fcd62c03c33d5e8f (diff)
don't need copy_secondary_start_to_1m_below for non-smp
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2158 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/x86/lapic')
-rw-r--r--src/cpu/x86/lapic/lapic_cpu_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/x86/lapic/lapic_cpu_init.c b/src/cpu/x86/lapic/lapic_cpu_init.c
index 312b016db5..d7f7124deb 100644
--- a/src/cpu/x86/lapic/lapic_cpu_init.c
+++ b/src/cpu/x86/lapic/lapic_cpu_init.c
@@ -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();