|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-3.4-testing] passthrough: Fix test_and_clear_bit()
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1243863851 -3600
# Node ID 4ce864e7851fdae3bbafd42db11c902811038de8
# Parent 4bf42e91bd66723cf6cedfc03982e18dac455b7a
passthrough: Fix test_and_clear_bit() caller to clear bitmap, not bitmap pointer
Latent bug triggered by '19650: eliminate hard-coded NR_IRQS'
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset: 19682:bfa933a4628d
xen-unstable date: Sat May 30 10:24:21 2009 +0100
---
xen/drivers/passthrough/io.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 4bf42e91bd66 -r 4ce864e7851f xen/drivers/passthrough/io.c
--- a/xen/drivers/passthrough/io.c Mon Jun 01 14:43:39 2009 +0100
+++ b/xen/drivers/passthrough/io.c Mon Jun 01 14:44:11 2009 +0100
@@ -418,7 +418,7 @@ void hvm_dirq_assist(struct vcpu *v)
irq < NR_IRQS;
irq = find_next_bit(hvm_irq_dpci->dirq_mask, NR_IRQS, irq + 1) )
{
- if ( !test_and_clear_bit(irq, &hvm_irq_dpci->dirq_mask) )
+ if ( !test_and_clear_bit(irq, hvm_irq_dpci->dirq_mask) )
continue;
spin_lock(&d->event_lock);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-3.4-testing] passthrough: Fix test_and_clear_bit() caller to clear bitmap, not bitmap pointer,
Xen patchbot-3.4-testing <=
|
|
|
|
|