summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-03-30 08:20:37 +0000
committerStefan Reinauer <stepan@openbios.org>2010-03-30 08:20:37 +0000
commit9b70cb624387999787683bd5279f11f922debf7e (patch)
treed0dc9968cf330e7ee502fa0577930bba0db988e0 /src/arch
parent9050b71802b801b24544013e6a515350b615ee68 (diff)
downloadcoreboot-9b70cb624387999787683bd5279f11f922debf7e.tar.xz
fix ms9652_fam10
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5324 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/i386/boot/pirq_routing.c4
-rw-r--r--src/arch/i386/include/arch/pirq_routing.h4
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 {