Author: stepan Date: Fri Dec 17 01:03:18 2010 New Revision: 6190 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6190
Log: guard against the case that CONFIG_WAIT_BEFORE_CPUS_INIT is not defined at all. Signed-off-by: Stefan Reinauer stepan@coreboot.org Acked-by: Stefan Reinauer stepan@coreboot.org
Modified: trunk/src/include/cpu/cpu.h
Modified: trunk/src/include/cpu/cpu.h ============================================================================== --- trunk/src/include/cpu/cpu.h Fri Dec 17 00:57:43 2010 (r6189) +++ trunk/src/include/cpu/cpu.h Fri Dec 17 01:03:18 2010 (r6190) @@ -9,7 +9,7 @@ void initialize_cpus(struct bus *cpu_bus); void secondary_cpu_init(void);
-#if CONFIG_WAIT_BEFORE_CPUS_INIT==0 +#if !defined(CONFIG_WAIT_BEFORE_CPUS_INIT) || CONFIG_WAIT_BEFORE_CPUS_INIT==0 #define cpus_ready_for_init() do {} while(0) #else void cpus_ready_for_init(void);