From: Uwe Hermann Date: Thu, 28 Oct 2010 14:22:20 +0000 (+0000) Subject: Fix broken build due to missing #if CONFIG_IOAPIC. X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=coreboot.git;a=commitdiff_plain;h=b34ff66a7a7462a427242c27d01ab241615fe2d3 Fix broken build due to missing #if CONFIG_IOAPIC. Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5999 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- diff --git a/src/southbridge/intel/i82371eb/i82371eb_isa.c b/src/southbridge/intel/i82371eb/i82371eb_isa.c index 24d381308..21fd4db78 100644 --- a/src/southbridge/intel/i82371eb/i82371eb_isa.c +++ b/src/southbridge/intel/i82371eb/i82371eb_isa.c @@ -28,6 +28,7 @@ #include #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) {