aboutsummaryrefslogtreecommitdiffstats
path: root/unmodified_drivers
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-06 12:56:58 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-01-06 12:56:58 +0000
commit018858d496d869cd227be107c72d38bf2724b119 (patch)
treee86aa01ecf1039a4f7c0d6f6fc899acd0f395785 /unmodified_drivers
parente975e81c9b5dd56d6746cbc395fe93f383eecfd4 (diff)
downloadxen-018858d496d869cd227be107c72d38bf2724b119.tar.gz
xen-018858d496d869cd227be107c72d38bf2724b119.tar.bz2
xen-018858d496d869cd227be107c72d38bf2724b119.zip
[PV-on-HVM] Add definition of irq_to_evtchn_port().
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'unmodified_drivers')
-rw-r--r--unmodified_drivers/linux-2.6/platform-pci/evtchn.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/unmodified_drivers/linux-2.6/platform-pci/evtchn.c b/unmodified_drivers/linux-2.6/platform-pci/evtchn.c
index 7ad340074a..9cf5972f0d 100644
--- a/unmodified_drivers/linux-2.6/platform-pci/evtchn.c
+++ b/unmodified_drivers/linux-2.6/platform-pci/evtchn.c
@@ -49,6 +49,12 @@ static struct {
int close; /* close on unbind_from_irqhandler()? */
} evtchns[MAX_EVTCHN];
+int irq_to_evtchn_port(int irq)
+{
+ return irq;
+}
+EXPORT_SYMBOL(irq_to_evtchn_port);
+
void mask_evtchn(int port)
{
shared_info_t *s = shared_info_area;