WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Fix my slightly broken change to pirq_mask logic -- we m

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix my slightly broken change to pirq_mask logic -- we must
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 07 Apr 2006 17:12:09 +0000
Delivery-date: Fri, 07 Apr 2006 10:13:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix my slightly broken change to pirq_mask logic -- we must, Xen patchbot -unstable <=