aboutsummaryrefslogtreecommitdiff
path: root/util/getpir
diff options
context:
space:
mode:
Diffstat (limited to 'util/getpir')
-rw-r--r--util/getpir/pirq_routing.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/getpir/pirq_routing.h b/util/getpir/pirq_routing.h
index ef6fbeed0d..ba69fb7c8d 100644
--- a/util/getpir/pirq_routing.h
+++ b/util/getpir/pirq_routing.h
@@ -16,8 +16,8 @@ struct irq_info {
uint8_t rfu;
} __attribute__((packed));
-#if defined(IRQ_SLOT_COUNT)
-#define IRQ_SLOTS_COUNT IRQ_SLOT_COUNT
+#if defined(CONFIG_IRQ_SLOT_COUNT)
+#define IRQ_SLOTS_COUNT CONFIG_IRQ_SLOT_COUNT
#elif (__GNUC__ < 3)
#define IRQ_SLOTS_COUNT 1
#else
@@ -39,7 +39,7 @@ struct irq_routing_table {
extern const struct irq_routing_table intel_irq_routing_table;
-#if HAVE_PIRQ_TABLE==1
+#if CONFIG_HAVE_PIRQ_TABLE==1
unsigned long copy_pirq_routing_table(unsigned long start);
unsigned long write_pirq_routing_table(unsigned long start);
#else