summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2010-10-28 14:22:20 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-10-28 14:22:20 +0000
commitb34ff66a7a7462a427242c27d01ab241615fe2d3 (patch)
tree91c1dd7847db99e18cdf150650fab4459147acd0
parent77180546c84278f8e613aa912e432ee084425f88 (diff)
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
-rw-r--r--src/southbridge/intel/i82371eb/i82371eb_isa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/southbridge/intel/i82371eb/i82371eb_isa.c b/src/southbridge/intel/i82371eb/i82371eb_isa.c
index 24d381308e..21fd4db780 100644
--- a/src/southbridge/intel/i82371eb/i82371eb_isa.c
+++ b/src/southbridge/intel/i82371eb/i82371eb_isa.c
@@ -28,6 +28,7 @@
#include <arch/ioapic.h>
#include "i82371eb.h"
+#if CONFIG_IOAPIC
static void enable_intel_82093aa_ioapic(void)
{
u16 reg16;
@@ -56,6 +57,7 @@ static void enable_intel_82093aa_ioapic(void)
if (reg32 != ioapic_id)
die("IOAPIC error!\n");
}
+#endif
static void isa_init(struct device *dev)
{