diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-04-06 14:00:53 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-04-06 14:00:53 +0000 |
commit | df77f345e734e3a16548126ed0542615b6144ab6 (patch) | |
tree | 60e309e8584c1842f4cc42cacad9fe4173c4c6a8 /src/include/cpu | |
parent | da6d92ba11ced79f0e4c6c409d37d6e36d73fd91 (diff) |
(trivial) fix some warnings
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4076 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/cpu')
-rw-r--r-- | src/include/cpu/x86/lapic.h | 2 |
1 files changed, 2 insertions, 0 deletions
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) |