summaryrefslogtreecommitdiff
path: root/src/cpu/x86/lapic
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2011-12-15 09:24:40 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-03-30 17:46:09 +0200
commit67aa3d6b878c5deea8d14054cce700ac1d045505 (patch)
tree8b33740965dd6c7bd35b708a5d47a8328c734c45 /src/cpu/x86/lapic
parent5e02bc6d7ef7f976629a7bfb35429527a77e6321 (diff)
downloadcoreboot-67aa3d6b878c5deea8d14054cce700ac1d045505.tar.xz
drop use of MAX_PHYSICAL_CPUS and MAX_CPUS where not needed
Change-Id: Idf875ddec417e627f1e72a6d834860e7fd324a50 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/760 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/cpu/x86/lapic')
-rw-r--r--src/cpu/x86/lapic/lapic_cpu_init.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/cpu/x86/lapic/lapic_cpu_init.c b/src/cpu/x86/lapic/lapic_cpu_init.c
index 2e2bb0632c..ed9940c4ac 100644
--- a/src/cpu/x86/lapic/lapic_cpu_init.c
+++ b/src/cpu/x86/lapic/lapic_cpu_init.c
@@ -384,9 +384,7 @@ void secondary_cpu_init(void)
{
atomic_inc(&active_cpus);
#if CONFIG_SERIAL_CPU_INIT == 1
- #if CONFIG_MAX_CPUS>2
spin_lock(&start_cpu_lock);
- #endif
#endif
#ifdef __SSE3__
@@ -401,9 +399,7 @@ void secondary_cpu_init(void)
#endif
cpu_initialize();
#if CONFIG_SERIAL_CPU_INIT == 1
- #if CONFIG_MAX_CPUS>2
spin_unlock(&start_cpu_lock);
- #endif
#endif
atomic_dec(&active_cpus);
@@ -440,9 +436,7 @@ static void start_other_cpus(struct bus *cpu_bus, device_t bsp_cpu)
cpu->path.apic.apic_id);
}
#if CONFIG_SERIAL_CPU_INIT == 1
- #if CONFIG_MAX_CPUS>2
udelay(10);
- #endif
#endif
}