ARGH!
So really a timeout of 0 means "hold off pop" the timer _not_ "force timer pop".
This is my brain fart, thanks for catching it amos.
Pushing now
-JX
On Sep 14, 2006, at 6:49 PM, Amos Waterland wrote:

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]>

---

 time.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r c94df1e4e62c 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 18:28:24 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


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

Reply via email to