summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/xen/events.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-02-07 01:09:43 +0300
committerIngo Molnar <mingo@elte.hu>2009-02-09 14:17:30 +0300
commit792dc4f6cdacf50d3f2b93756d282fc04ee34bd5 (patch)
treec65e8bc1324e5ba62b268bcd1fbe1b4b90342ecd /arch/x86/include/asm/xen/events.h
parenteca217b36e5d7d4377493d5cedd89105e66a5a72 (diff)
downloadlinux-792dc4f6cdacf50d3f2b93756d282fc04ee34bd5.tar.xz
xen: use our own eventchannel->irq path
Rather than overloading vectors for event channels, take full responsibility for mapping an event channel to irq directly. With this patch Xen has its own irq allocator. When the kernel gets an event channel upcall, it maps the event channel number to an irq and injects it into the normal interrupt path. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/xen/events.h')
-rw-r--r--arch/x86/include/asm/xen/events.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/include/asm/xen/events.h b/arch/x86/include/asm/xen/events.h
index 19144184983a..1df35417c412 100644
--- a/arch/x86/include/asm/xen/events.h
+++ b/arch/x86/include/asm/xen/events.h
@@ -15,10 +15,4 @@ static inline int xen_irqs_disabled(struct pt_regs *regs)
return raw_irqs_disabled_flags(regs->flags);
}
-static inline void xen_do_IRQ(int irq, struct pt_regs *regs)
-{
- regs->orig_ax = ~irq;
- do_IRQ(regs);
-}
-
#endif /* _ASM_X86_XEN_EVENTS_H */