]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commitdiff
evtchn: Fix the build.
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 28 Nov 2008 13:41:38 +0000 (13:41 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 28 Nov 2008 13:41:38 +0000 (13:41 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
drivers/xen/core/evtchn.c

index 765a7c049b8ae4415bd22d318123c7e44bf9b500..3cf69c26971270a5c6cf0bc849fce0997b880c76 100644 (file)
@@ -754,7 +754,7 @@ static struct hw_interrupt_type dynirq_type = {
 };
 
 /* 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++)