ia64/linux-2.6.18-xen.hg

changeset 750:cdc6729dc702

evtchn: Fix the build.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Nov 28 13:41:38 2008 +0000 (2008-11-28)
parents 2892ca2b9c17
children 63a878f8851b
files drivers/xen/core/evtchn.c
line diff
     1.1 --- a/drivers/xen/core/evtchn.c	Fri Nov 28 13:31:21 2008 +0000
     1.2 +++ b/drivers/xen/core/evtchn.c	Fri Nov 28 13:41:38 2008 +0000
     1.3 @@ -754,7 +754,7 @@ static struct hw_interrupt_type dynirq_t
     1.4  };
     1.5  
     1.6  /* Bitmap indicating which PIRQs require Xen to be notified on unmask. */
     1.7 -static bool pirq_eoi_does_unmask;
     1.8 +static int pirq_eoi_does_unmask;
     1.9  static DECLARE_BITMAP(pirq_needs_eoi, ALIGN(NR_PIRQS, PAGE_SIZE * 8))
    1.10  	__attribute__ ((__section__(".bss.page_aligned"), __aligned__(PAGE_SIZE)));
    1.11  
    1.12 @@ -1139,7 +1139,7 @@ void __init xen_init_IRQ(void)
    1.13  	BUG_ON(!bitmap_empty(pirq_needs_eoi, PAGE_SIZE * 8));
    1.14  	eoi_mfn.mfn = virt_to_bus(pirq_needs_eoi) >> PAGE_SHIFT;
    1.15  	if (HYPERVISOR_physdev_op(PHYSDEVOP_pirq_eoi_mfn, &eoi_mfn) == 0)
    1.16 -		pirq_eoi_does_unmask = true;
    1.17 +		pirq_eoi_does_unmask = 1;
    1.18  
    1.19  	/* No event channels are 'live' right now. */
    1.20  	for (i = 0; i < NR_EVENT_CHANNELS; i++)