aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-29 22:05:26 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-29 22:05:26 +0000
commit72bdfeb6987f9578ac7fee3f21140ab5853d6179 (patch)
treec0a86040f08c72e36ed9ecf8060bb9e8529ea787 /src
parent86b6dba7eaea79c1d9f485396bd6b5ea24088160 (diff)
- drop GCC 2.x workaround, GCC 2.x is not supported anymore.
- warn if we didn't specify IRQ_SLOT_COUNT in Kconfig Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5319 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src')
-rw-r--r--src/arch/i386/include/arch/pirq_routing.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/arch/i386/include/arch/pirq_routing.h b/src/arch/i386/include/arch/pirq_routing.h
index ecc288267d..174884d02f 100644
--- a/src/arch/i386/include/arch/pirq_routing.h
+++ b/src/arch/i386/include/arch/pirq_routing.h
@@ -18,9 +18,8 @@ struct irq_info {
#if defined(CONFIG_IRQ_SLOT_COUNT)
#define IRQ_SLOTS_COUNT CONFIG_IRQ_SLOT_COUNT
-#elif (__GNUC__ < 3)
-#define IRQ_SLOTS_COUNT 1
#else
+#warning "No IRQ_SLOT_COUNT in Kconfig."
#define IRQ_SLOTS_COUNT
#endif