# HG changeset patch
# User Jimi Xenidis <[EMAIL PROTECTED]>
# Node ID 4490f6744b286d62fec3d0792ba5a44db114153b
# Parent  c94df1e4e62c7ab04faf05c8c5586f050f6513fd
[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 <[EMAIL PROTECTED]>
---
 xen/arch/powerpc/time.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r c94df1e4e62c -r 4490f6744b28 xen/arch/powerpc/time.c
--- a/xen/arch/powerpc/time.c   Thu Sep 14 15:43:38 2006 -0500
+++ b/xen/arch/powerpc/time.c   Thu Sep 14 22:06:15 2006 -0400
@@ -60,7 +60,7 @@ int reprogram_timer(s_time_t timeout)
     s_time_t expire;
 
     if (timeout == 0) {
-        expire = 0;
+        expire = INT_MAX;
     } else {
         s_time_t now;
 

_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@lists.xensource.com
http://lists.xensource.com/xen-ppc-devel

Reply via email to