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

[Xen-changelog] Fix assertion.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 0d7c3c47ad200ae3317a92deaf1dcb68a7751aaa
# Parent  d0b7281556f2e7ffe3e19399cd0906b32212f620
Fix assertion.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r d0b7281556f2 -r 0d7c3c47ad20 xen/common/schedule.c
--- a/xen/common/schedule.c     Sat Feb 25 20:28:27 2006
+++ b/xen/common/schedule.c     Sat Feb 25 21:29:18 2006
@@ -83,7 +83,7 @@
     {
         /* Fast lock-free path. */
         memcpy(runstate, &v->runstate, sizeof(*runstate));
-        ASSERT(runstate->state = RUNSTATE_running);
+        ASSERT(runstate->state == RUNSTATE_running);
         runstate->time[RUNSTATE_running] += NOW() - runstate->state_entry_time;
     }
     else

_______________________________________________
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®.