diff options
Diffstat (limited to 'src/arch/i386')
-rw-r--r-- | src/arch/i386/boot/pirq_routing.c | 4 | ||||
-rw-r--r-- | src/arch/i386/include/arch/pirq_routing.h | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/arch/i386/boot/pirq_routing.c b/src/arch/i386/boot/pirq_routing.c index 0c6269da55..86a3500444 100644 --- a/src/arch/i386/boot/pirq_routing.c +++ b/src/arch/i386/boot/pirq_routing.c @@ -3,10 +3,6 @@ #include <string.h> #include <device/pci.h> -#ifndef CONFIG_IRQ_SLOT_COUNT -#warning "CONFIG_IRQ_SLOT_COUNT is not defined. PIRQ won't work correctly." -#endif - #if CONFIG_DEBUG static void check_pirq_routing_table(struct irq_routing_table *rt) { diff --git a/src/arch/i386/include/arch/pirq_routing.h b/src/arch/i386/include/arch/pirq_routing.h index b58b390afe..0b65eac29b 100644 --- a/src/arch/i386/include/arch/pirq_routing.h +++ b/src/arch/i386/include/arch/pirq_routing.h @@ -17,8 +17,8 @@ struct irq_info { u8 rfu; } __attribute__((packed)); -#if !defined(CONFIG_IRQ_SLOT_COUNT) -#error "No IRQ_SLOT_COUNT in Kconfig." +#ifndef CONFIG_IRQ_SLOT_COUNT +#warning "IRQ_SLOT_COUNT is not defined in Kconfig. PIRQ won't work correctly." #endif struct irq_routing_table { |