From df77f345e734e3a16548126ed0542615b6144ab6 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Mon, 6 Apr 2009 14:00:53 +0000 Subject: (trivial) fix some warnings Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4076 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/include/cpu/x86/lapic.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include') diff --git a/src/include/cpu/x86/lapic.h b/src/include/cpu/x86/lapic.h index 66b40fc7b6..8fced2974b 100644 --- a/src/include/cpu/x86/lapic.h +++ b/src/include/cpu/x86/lapic.h @@ -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) -- cgit v1.2.3