summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cpu/x86/lapic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/cpu/x86/lapic.h b/src/include/cpu/x86/lapic.h
index d4f323208b..96b5891918 100644
--- a/src/include/cpu/x86/lapic.h
+++ b/src/include/cpu/x86/lapic.h
@@ -153,6 +153,10 @@ int start_cpu(struct device *cpu);
#endif /* !__PRE_RAM__ */
+#if CONFIG_SMP
int boot_cpu(void);
+#else
+#define boot_cpu(x) 1
+#endif
#endif /* CPU_X86_LAPIC_H */