guard against the case that CONFIG_WAIT_BEFORE_CPUS_INIT is not defined at all.
authorStefan Reinauer <stepan@coreboot.org>
Fri, 17 Dec 2010 00:03:18 +0000 (00:03 +0000)
committerStefan Reinauer <stepan@openbios.org>
Fri, 17 Dec 2010 00:03:18 +0000 (00:03 +0000)
Signed-off-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6190 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/include/cpu/cpu.h

index b64fd3ce2c639bce9e71b49dde99dbebc4c5c23e..d33b6da62e7acbf66f7f102efdc2da54c3b91989 100644 (file)
@@ -9,7 +9,7 @@ void cpu_initialize(void);
 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);