(trivial) fix some warnings
[coreboot.git] / src / include / cpu / x86 / lapic.h
index 66b40fc7b6c69f6f5b72dfcf42a5f3462e55325d..8fced2974b664d36e92f8081b4533e66b4f11b9f 100644 (file)
@@ -8,6 +8,8 @@
 /* See if I need to initialize the local apic */
 #if CONFIG_SMP || CONFIG_IOAPIC
 #  define NEED_LAPIC 1
+#else
+#  define NEED_LAPIC 0
 #endif
 
 static inline __attribute__((always_inline)) unsigned long lapic_read(unsigned long reg)