direct-io.hg

changeset 11522:1fae74cd3963

[POWERPC][XEN] Fix infinite loop caused by hdec storm

This was the cause of the periodic hang on secondary processors that has
been holding back the submission of the SMP patch.

Signed-off-by: Amos Waterland <apw@us.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Thu Sep 14 22:06:15 2006 -0400 (2006-09-14)
parents 33266be3c635
children 6486bc1937a4
files xen/arch/powerpc/time.c
line diff
     1.1 --- a/xen/arch/powerpc/time.c	Thu Sep 14 14:20:48 2006 -0400
     1.2 +++ b/xen/arch/powerpc/time.c	Thu Sep 14 22:06:15 2006 -0400
     1.3 @@ -60,7 +60,7 @@ int reprogram_timer(s_time_t timeout)
     1.4      s_time_t expire;
     1.5  
     1.6      if (timeout == 0) {
     1.7 -        expire = 0;
     1.8 +        expire = INT_MAX;
     1.9      } else {
    1.10          s_time_t now;
    1.11