[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix my slightly broken change to pirq_mask logic -- we must
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 05db1d61e031d2fb48e561b185fa42981547db9a # Parent 86db4688d514e2ab6e5b3e927a0c892ad9d597bf Fix my slightly broken change to pirq_mask logic -- we must pass the last seen bit *plus 1* to find_next_bit(). Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> diff -r 86db4688d514 -r 05db1d61e031 xen/arch/ia64/xen/irq.c --- a/xen/arch/ia64/xen/irq.c Fri Apr 7 14:58:00 2006 +++ b/xen/arch/ia64/xen/irq.c Fri Apr 7 15:15:44 2006 @@ -1363,7 +1363,7 @@ for ( pirq = find_first_bit(d->pirq_mask, NR_PIRQS); pirq < NR_PIRQS; - pirq = find_next_bit(d->pirq_mask, NR_PIRQS, pirq) ) + pirq = find_next_bit(d->pirq_mask, NR_PIRQS, pirq+1) ) { desc = &irq_desc[pirq]; spin_lock_irq(&desc->lock); diff -r 86db4688d514 -r 05db1d61e031 xen/arch/x86/irq.c --- a/xen/arch/x86/irq.c Fri Apr 7 14:58:00 2006 +++ b/xen/arch/x86/irq.c Fri Apr 7 15:15:44 2006 @@ -176,7 +176,7 @@ for ( pirq = find_first_bit(d->pirq_mask, NR_PIRQS); pirq < NR_PIRQS; - pirq = find_next_bit(d->pirq_mask, NR_PIRQS, pirq) ) + pirq = find_next_bit(d->pirq_mask, NR_PIRQS, pirq+1) ) { desc = &irq_desc[irq_to_vector(pirq)]; spin_lock_irq(&desc->lock); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |