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

[Xen-changelog] Fix reprogram_ac_timer corner case bug, by Tristan Gingold



# HG changeset patch
# User djm@xxxxxxxxxxxxxxx
# Node ID d61142fc7480dbc2036a405994549e3141eb4262
# Parent  f1dc942257e509b97efe964188d7e8a8d74c2464
Fix reprogram_ac_timer corner case bug, by Tristan Gingold

diff -r f1dc942257e5 -r d61142fc7480 xen/arch/ia64/xen/xentime.c
--- a/xen/arch/ia64/xen/xentime.c       Fri Oct 14 18:33:37 2005
+++ b/xen/arch/ia64/xen/xentime.c       Fri Oct 14 20:11:12 2005
@@ -240,7 +240,7 @@
        s_time_t expire;
        unsigned long seq, cur_itc, itm_next;
 
-       if (!domain0_ready) return 1;
+       if (!domain0_ready || timeout == 0) return 1;
 
        do {
                seq = read_seqbegin(&xtime_lock);

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