diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2009-02-06 17:09:40 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-09 06:15:57 -0500 |
commit | 9b2b76a3344146c4d8d300874e73af8161204f87 (patch) | |
tree | 13c22f62ac7610f07b93fe9f4a75e0f57ebb450d /arch/x86/include/asm/irq.h | |
parent | cc6c50066ec1ac98bef97117e2f078bb89bbccc7 (diff) |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/irq.h b/arch/x86/include/asm/irq.h index 592688ed04d..d0f6f7d1771 100644 --- a/arch/x86/include/asm/irq.h +++ b/arch/x86/include/asm/irq.h | |||
@@ -39,6 +39,7 @@ extern void fixup_irqs(void); | |||
39 | extern unsigned int do_IRQ(struct pt_regs *regs); | 39 | extern unsigned int do_IRQ(struct pt_regs *regs); |
40 | extern void init_IRQ(void); | 40 | extern void init_IRQ(void); |
41 | extern void native_init_IRQ(void); | 41 | extern void native_init_IRQ(void); |
42 | extern bool handle_irq(unsigned irq, struct pt_regs *regs); | ||
42 | 43 | ||
43 | /* Interrupt vector management */ | 44 | /* Interrupt vector management */ |
44 | extern DECLARE_BITMAP(used_vectors, NR_VECTORS); | 45 | extern DECLARE_BITMAP(used_vectors, NR_VECTORS); |