Fix broken build due to missing #if CONFIG_IOAPIC.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5999 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Uwe Hermann 2010-10-28 14:22:20 +00:00
parent 77180546c8
commit b34ff66a7a
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@
#include <arch/ioapic.h> #include <arch/ioapic.h>
#include "i82371eb.h" #include "i82371eb.h"
#if CONFIG_IOAPIC
static void enable_intel_82093aa_ioapic(void) static void enable_intel_82093aa_ioapic(void)
{ {
u16 reg16; u16 reg16;
@ -56,6 +57,7 @@ static void enable_intel_82093aa_ioapic(void)
if (reg32 != ioapic_id) if (reg32 != ioapic_id)
die("IOAPIC error!\n"); die("IOAPIC error!\n");
} }
#endif
static void isa_init(struct device *dev) static void isa_init(struct device *dev)
{ {