direct-io.hg

changeset 13284:d3e40fd6038e

[PV-on-HVM] Add definition of irq_to_evtchn_port().
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Sat Jan 06 12:56:58 2007 +0000 (2007-01-06)
parents 69579f9f1c81
children 9ba91a854787
files unmodified_drivers/linux-2.6/platform-pci/evtchn.c
line diff
     1.1 --- a/unmodified_drivers/linux-2.6/platform-pci/evtchn.c	Sat Jan 06 11:17:52 2007 +0000
     1.2 +++ b/unmodified_drivers/linux-2.6/platform-pci/evtchn.c	Sat Jan 06 12:56:58 2007 +0000
     1.3 @@ -49,6 +49,12 @@ static struct {
     1.4  	int close; /* close on unbind_from_irqhandler()? */
     1.5  } evtchns[MAX_EVTCHN];
     1.6  
     1.7 +int irq_to_evtchn_port(int irq)
     1.8 +{
     1.9 +	return irq;
    1.10 +}
    1.11 +EXPORT_SYMBOL(irq_to_evtchn_port);
    1.12 +
    1.13  void mask_evtchn(int port)
    1.14  {
    1.15  	shared_info_t *s = shared_info_area;