summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coreboot.org>2010-12-17 00:03:18 +0000
committerStefan Reinauer <stepan@openbios.org>2010-12-17 00:03:18 +0000
commitefbfd501fee8decd0942808a47a3f9e93d30ae38 (patch)
treeb0ede73ed384dab25e0434298c49eba30fb5c5d1 /src
parent43c1a2173371a0325f12733413503a78442dccd0 (diff)
downloadcoreboot-efbfd501fee8decd0942808a47a3f9e93d30ae38.tar.xz
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> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6190 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/include/cpu/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/cpu/cpu.h b/src/include/cpu/cpu.h
index b64fd3ce2c..d33b6da62e 100644
--- a/src/include/cpu/cpu.h
+++ b/src/include/cpu/cpu.h
@@ -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);