- 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:
parent
86b6dba7ea
commit
72bdfeb698
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue