- 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
This commit is contained in:
Stefan Reinauer 2010-03-29 22:05:26 +00:00 committed by Stefan Reinauer
parent 86b6dba7ea
commit 72bdfeb698
1 changed files with 1 additions and 2 deletions

View File

@ -18,9 +18,8 @@ struct irq_info {
#if defined(CONFIG_IRQ_SLOT_COUNT) #if defined(CONFIG_IRQ_SLOT_COUNT)
#define IRQ_SLOTS_COUNT CONFIG_IRQ_SLOT_COUNT #define IRQ_SLOTS_COUNT CONFIG_IRQ_SLOT_COUNT
#elif (__GNUC__ < 3)
#define IRQ_SLOTS_COUNT 1
#else #else
#warning "No IRQ_SLOT_COUNT in Kconfig."
#define IRQ_SLOTS_COUNT #define IRQ_SLOTS_COUNT
#endif #endif