<br><br><div class="gmail_quote">On Mon, Mar 29, 2010 at 4:05 PM, repository service <span dir="ltr"><<a href="mailto:svn@coreboot.org">svn@coreboot.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Author: stepan<br>
Date: Tue Mar 30 00:05:26 2010<br>
New Revision: 5319<br>
URL: <a href="https://tracker.coreboot.org/trac/coreboot/changeset/5319" target="_blank">https://tracker.coreboot.org/trac/coreboot/changeset/5319</a><br>
<br>
Log:<br>
- drop GCC 2.x workaround, GCC 2.x is not supported anymore.<br>
- warn if we didn't specify IRQ_SLOT_COUNT in Kconfig<br>
Signed-off-by: Stefan Reinauer <<a href="mailto:stepan@coresystems.de">stepan@coresystems.de</a>><br>
Acked-by: Stefan Reinauer <<a href="mailto:stepan@coresystems.de">stepan@coresystems.de</a>><br>
<br>
Modified:<br>
   trunk/src/arch/i386/include/arch/pirq_routing.h<br>
<br>
Modified: trunk/src/arch/i386/include/arch/pirq_routing.h<br>
==============================================================================<br>
--- trunk/src/arch/i386/include/arch/pirq_routing.h     Mon Mar 29 23:56:26 2010        (r5318)<br>
+++ trunk/src/arch/i386/include/arch/pirq_routing.h     Tue Mar 30 00:05:26 2010        (r5319)<br>
@@ -18,9 +18,8 @@<br>
<br>
 #if defined(CONFIG_IRQ_SLOT_COUNT)<br>
 #define IRQ_SLOTS_COUNT CONFIG_IRQ_SLOT_COUNT<br>
-#elif (__GNUC__ < 3)<br>
-#define IRQ_SLOTS_COUNT 1<br>
 #else<br>
+#warning "No IRQ_SLOT_COUNT in Kconfig."<br>
 #define IRQ_SLOTS_COUNT<br>
 #endif<br>
<font color="#888888"><br></font></blockquote><div>I think we should get rid of IRQ_SLOTS_COUNT and move the error into Kconfig.  The added warning is very similar to one in pirq_routing.c<br><br>Thanks,<br>Myles <br></div>
</div><br>