summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/xen
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2009-02-06 14:09:43 -0800
committerIngo Molnar <mingo@elte.hu>2009-02-09 12:17:30 +0100
commit792dc4f6cdacf50d3f2b93756d282fc04ee34bd5 (patch)
treec65e8bc1324e5ba62b268bcd1fbe1b4b90342ecd /arch/x86/include/asm/xen
parenteca217b36e5d7d4377493d5cedd89105e66a5a72 (diff)
downloadop-kernel-dev-792dc4f6cdacf50d3f2b93756d282fc04ee34bd5.zip
op-kernel-dev-792dc4f6cdacf50d3f2b93756d282fc04ee34bd5.tar.gz
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')
-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 1914418..1df3541 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 */
OpenPOWER on IntegriCloud