Fix broken build due to missing #if CONFIG_IOAPIC.
authorUwe Hermann <uwe@hermann-uwe.de>
Thu, 28 Oct 2010 14:22:20 +0000 (14:22 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Thu, 28 Oct 2010 14:22:20 +0000 (14:22 +0000)
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

src/southbridge/intel/i82371eb/i82371eb_isa.c

index 24d381308ec9eb2d75fdc2cfebcac85428fc55a6..21fd4db78066a5afe51e9e5bf9853a9f30dd5e17 100644 (file)
@@ -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)
 {