summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/irqdomain.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw@amazon.co.uk>2020-10-25 00:35:23 +0300
committerThomas Gleixner <tglx@linutronix.de>2020-10-28 22:26:27 +0300
commit6452ea2a323b80868ce5e6d3030e4ccbeab9dc30 (patch)
tree84cac53a724be290befe2c857cdb8939d7523e6f /arch/x86/include/asm/irqdomain.h
parent2cbd5a45e5296b28d64224ffbbd33d427704ba1b (diff)
downloadlinux-6452ea2a323b80868ce5e6d3030e4ccbeab9dc30.tar.xz
x86/apic: Add select() method on vector irqdomain
This will be used to select the irqdomain for I/O-APIC and HPET. Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/r/20201024213535.443185-24-dwmw2@infradead.org
Diffstat (limited to 'arch/x86/include/asm/irqdomain.h')
-rw-r--r--arch/x86/include/asm/irqdomain.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/irqdomain.h b/arch/x86/include/asm/irqdomain.h
index cd684d45cb5f..125c23b7bad3 100644
--- a/arch/x86/include/asm/irqdomain.h
+++ b/arch/x86/include/asm/irqdomain.h
@@ -12,6 +12,9 @@ enum {
X86_IRQ_ALLOC_LEGACY = 0x2,
};
+extern int x86_fwspec_is_ioapic(struct irq_fwspec *fwspec);
+extern int x86_fwspec_is_hpet(struct irq_fwspec *fwspec);
+
extern struct irq_domain *x86_vector_domain;
extern void init_irq_alloc_info(struct irq_alloc_info *info,