summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/irq.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge2009-02-06 23:09:40 +0100
committerIngo Molnar2009-02-09 12:15:57 +0100
commit9b2b76a3344146c4d8d300874e73af8161204f87 (patch)
tree13c22f62ac7610f07b93fe9f4a75e0f57ebb450d /arch/x86/include/asm/irq.h
parentx86: find nr_irqs_gsi with mp_ioapic_routing (diff)
downloadkernel-qcow2-linux-9b2b76a3344146c4d8d300874e73af8161204f87.tar.gz
kernel-qcow2-linux-9b2b76a3344146c4d8d300874e73af8161204f87.tar.xz
kernel-qcow2-linux-9b2b76a3344146c4d8d300874e73af8161204f87.zip
x86: add handle_irq() to allow interrupt injection
Xen uses a different interrupt path, so introduce handle_irq() to allow interrupts to be inserted into the normal interrupt path. This is handled slightly differently on 32 and 64-bit. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/irq.h')
-rw-r--r--arch/x86/include/asm/irq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/irq.h b/arch/x86/include/asm/irq.h
index 592688ed04d3..d0f6f7d1771c 100644
--- a/arch/x86/include/asm/irq.h
+++ b/arch/x86/include/asm/irq.h
@@ -39,6 +39,7 @@ extern void fixup_irqs(void);
extern unsigned int do_IRQ(struct pt_regs *regs);
extern void init_IRQ(void);
extern void native_init_IRQ(void);
+extern bool handle_irq(unsigned irq, struct pt_regs *regs);
/* Interrupt vector management */
extern DECLARE_BITMAP(used_vectors, NR_VECTORS);