| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [linux-2.6.18-xen] evtchn: Fix the build.
 # HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1227879698 0
# Node ID cdc6729dc7025594b902ef01795bfafd4c14ea3c
# Parent  2892ca2b9c17857f6922e803406711881988d850
evtchn: Fix the build.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 drivers/xen/core/evtchn.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 2892ca2b9c17 -r cdc6729dc702 drivers/xen/core/evtchn.c
--- a/drivers/xen/core/evtchn.c Fri Nov 28 13:31:21 2008 +0000
+++ b/drivers/xen/core/evtchn.c Fri Nov 28 13:41:38 2008 +0000
@@ -754,7 +754,7 @@ static struct hw_interrupt_type dynirq_t
 };
 
 /* Bitmap indicating which PIRQs require Xen to be notified on unmask. */
-static bool pirq_eoi_does_unmask;
+static int pirq_eoi_does_unmask;
 static DECLARE_BITMAP(pirq_needs_eoi, ALIGN(NR_PIRQS, PAGE_SIZE * 8))
        __attribute__ ((__section__(".bss.page_aligned"), 
__aligned__(PAGE_SIZE)));
 
@@ -1139,7 +1139,7 @@ void __init xen_init_IRQ(void)
        BUG_ON(!bitmap_empty(pirq_needs_eoi, PAGE_SIZE * 8));
        eoi_mfn.mfn = virt_to_bus(pirq_needs_eoi) >> PAGE_SHIFT;
        if (HYPERVISOR_physdev_op(PHYSDEVOP_pirq_eoi_mfn, &eoi_mfn) == 0)
-               pirq_eoi_does_unmask = true;
+               pirq_eoi_does_unmask = 1;
 
        /* No event channels are 'live' right now. */
        for (i = 0; i < NR_EVENT_CHANNELS; i++)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |