[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xen: Remove two incorrect assertions.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1175527583 -3600
# Node ID 9695cc13c48ce29fd25f188eecf331029c381fc4
# Parent  812bbbee5f6211729d746d40deddb2dbb9ba0903
xen: Remove two incorrect assertions.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/common/domain.c |    3 ---
 1 files changed, 3 deletions(-)

diff -r 812bbbee5f62 -r 9695cc13c48c xen/common/domain.c
--- a/xen/common/domain.c       Mon Apr 02 15:29:42 2007 +0100
+++ b/xen/common/domain.c       Mon Apr 02 16:26:23 2007 +0100
@@ -425,7 +425,6 @@ void vcpu_pause_nosync(struct vcpu *v)
 
 void vcpu_unpause(struct vcpu *v)
 {
-    ASSERT(v != current);
     if ( atomic_dec_and_test(&v->pause_count) )
         vcpu_wake(v);
 }
@@ -445,8 +444,6 @@ void domain_unpause(struct domain *d)
 void domain_unpause(struct domain *d)
 {
     struct vcpu *v;
-
-    ASSERT(d != current->domain);
 
     if ( atomic_dec_and_test(&d->pause_count) )
         for_each_vcpu( d, v )

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.