[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 09/31] Fix compile error: implicit declaration of function 'clear_evtchn'



The function is now called xen_clear_irq_pending.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
---
 drivers/xen/pcifront/pci_op.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/xen/pcifront/pci_op.c b/drivers/xen/pcifront/pci_op.c
index 550d94d..725732f 100644
--- a/drivers/xen/pcifront/pci_op.c
+++ b/drivers/xen/pcifront/pci_op.c
@@ -169,6 +169,7 @@ static int do_pci_op(struct pcifront_device *pdev, struct 
xen_pci_op *op)
        struct xen_pci_op *active_op = &pdev->sh_info->op;
        unsigned long irq_flags;
        evtchn_port_t port = pdev->evtchn;
+       unsigned irq = pdev->irq;
        s64 ns, ns_timeout;
        struct timeval tv;
 
@@ -190,13 +191,13 @@ static int do_pci_op(struct pcifront_device *pdev, struct 
xen_pci_op *op)
        do_gettimeofday(&tv);
        ns_timeout = timeval_to_ns(&tv) + 2 * (s64)NSEC_PER_SEC;
 
-       clear_evtchn(port);
+       xen_clear_irq_pending(irq);
 
        while (test_bit(_XEN_PCIF_active,
                        (unsigned long *)&pdev->sh_info->flags)) {
                if (HYPERVISOR_poll(&port, 1, jiffies + 3*HZ))
                        BUG();
-               clear_evtchn(port);
+               xen_clear_irq_pending(irq);
                do_gettimeofday(&tv);
                ns = timeval_to_ns(&tv);
                if (ns > ns_timeout) {
-- 
1.6.2.5


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.