ia64/xen-unstable

changeset 9025:0d7c3c47ad20

Fix assertion.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Sat Feb 25 22:29:18 2006 +0100 (2006-02-25)
parents d0b7281556f2
children a5830f7fd7e0
files xen/common/schedule.c
line diff
     1.1 --- a/xen/common/schedule.c	Sat Feb 25 21:28:27 2006 +0100
     1.2 +++ b/xen/common/schedule.c	Sat Feb 25 22:29:18 2006 +0100
     1.3 @@ -83,7 +83,7 @@ void vcpu_runstate_get(struct vcpu *v, s
     1.4      {
     1.5          /* Fast lock-free path. */
     1.6          memcpy(runstate, &v->runstate, sizeof(*runstate));
     1.7 -        ASSERT(runstate->state = RUNSTATE_running);
     1.8 +        ASSERT(runstate->state == RUNSTATE_running);
     1.9          runstate->time[RUNSTATE_running] += NOW() - runstate->state_entry_time;
    1.10      }
    1.11      else