summaryrefslogtreecommitdiff
path: root/util/getpir/pirq_routing.h
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-09-10 11:21:48 +0000
committerStefan Reinauer <stepan@openbios.org>2009-09-10 11:21:48 +0000
commitc8d4a05f8f5df06bd98f8ee7d5ef46e61986e6b0 (patch)
tree9776d047f7f21dd917c6567bc8b15a93d33efd27 /util/getpir/pirq_routing.h
parent8008f88df8ff6d7cbdfced5717775a446f2254c6 (diff)
downloadcoreboot-c8d4a05f8f5df06bd98f8ee7d5ef46e61986e6b0.tar.xz
fix compilation issues for pirq checker tool (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4629 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/getpir/pirq_routing.h')
-rw-r--r--util/getpir/pirq_routing.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/getpir/pirq_routing.h b/util/getpir/pirq_routing.h
index ba69fb7c8d..44035ad432 100644
--- a/util/getpir/pirq_routing.h
+++ b/util/getpir/pirq_routing.h
@@ -39,6 +39,10 @@ struct irq_routing_table {
extern const struct irq_routing_table intel_irq_routing_table;
+#ifdef GETPIR
+#define copy_pirq_routing_table(start) (start)
+unsigned long write_pirq_routing_table(unsigned long start);
+#else
#if CONFIG_HAVE_PIRQ_TABLE==1
unsigned long copy_pirq_routing_table(unsigned long start);
unsigned long write_pirq_routing_table(unsigned long start);
@@ -46,5 +50,6 @@ unsigned long write_pirq_routing_table(unsigned long start);
#define copy_pirq_routing_table(start) (start)
#define write_pirq_routing_table(start) (start)
#endif
+#endif
#endif /* ARCH_PIRQ_ROUTING_H */