drop use of MAX_PHYSICAL_CPUS and MAX_CPUS where not needed
[coreboot.git] / src / cpu / x86 / lapic / lapic_cpu_init.c
index 2e2bb0632c3883fbea87315964089aa96d047bbc..ed9940c4acf1b2c78145dee7b88a3ae79f08b3b3 100644 (file)
@@ -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
        }