WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix assertion., Xen patchbot -unstable <=