direct-io.hg

changeset 14693:9695cc13c48c

xen: Remove two incorrect assertions.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Mon Apr 02 16:26:23 2007 +0100 (2007-04-02)
parents 812bbbee5f62
children d05a3220ea05
files xen/common/domain.c
line diff
     1.1 --- a/xen/common/domain.c	Mon Apr 02 15:29:42 2007 +0100
     1.2 +++ b/xen/common/domain.c	Mon Apr 02 16:26:23 2007 +0100
     1.3 @@ -425,7 +425,6 @@ void vcpu_pause_nosync(struct vcpu *v)
     1.4  
     1.5  void vcpu_unpause(struct vcpu *v)
     1.6  {
     1.7 -    ASSERT(v != current);
     1.8      if ( atomic_dec_and_test(&v->pause_count) )
     1.9          vcpu_wake(v);
    1.10  }
    1.11 @@ -446,8 +445,6 @@ void domain_unpause(struct domain *d)
    1.12  {
    1.13      struct vcpu *v;
    1.14  
    1.15 -    ASSERT(d != current->domain);
    1.16 -
    1.17      if ( atomic_dec_and_test(&d->pause_count) )
    1.18          for_each_vcpu( d, v )
    1.19              vcpu_wake(v);