ia64/xen-unstable

changeset 7337:d61142fc7480

Fix reprogram_ac_timer corner case bug, by Tristan Gingold
author djm@kirby.fc.hp.com
date Fri Oct 14 14:11:12 2005 -0600 (2005-10-14)
parents f1dc942257e5
children 42cab8724273
files xen/arch/ia64/xen/xentime.c
line diff
     1.1 --- a/xen/arch/ia64/xen/xentime.c	Fri Oct 14 12:33:37 2005 -0600
     1.2 +++ b/xen/arch/ia64/xen/xentime.c	Fri Oct 14 14:11:12 2005 -0600
     1.3 @@ -240,7 +240,7 @@ int reprogram_ac_timer(s_time_t timeout)
     1.4  	s_time_t expire;
     1.5  	unsigned long seq, cur_itc, itm_next;
     1.6  
     1.7 -	if (!domain0_ready) return 1;
     1.8 +	if (!domain0_ready || timeout == 0) return 1;
     1.9  
    1.10  	do {
    1.11  		seq = read_seqbegin(&xtime_lock);