Subject: [IA64] Kexec: Don't "increase" SAL timout to 0
From: Simon Horman <horms@verge.net.au>
Date: Thu, 16 Aug 2007 17:23:53 +0900

Increasing (changing) the rendez timeout to the value returned
only really makes sense if that value isn't zero.

On the HP RX2620 this occurs if the call is made in physical mode.
Curiously, the patch allows the boot to complete.

Signed-off-by: Simon Horman <horms@verge.net.au>

Index: xen-unstable.hg/xen/arch/ia64/linux-xen/mca.c
===================================================================
--- xen-unstable.hg.orig/xen/arch/ia64/linux-xen/mca.c	2007-08-06 14:52:48.000000000 +0900
+++ xen-unstable.hg/xen/arch/ia64/linux-xen/mca.c	2007-08-06 14:53:01.000000000 +0900
@@ -1737,7 +1737,7 @@ ia64_mca_init(void)
 		rc = isrv.status;
 		if (rc == 0)
 			break;
-		if (rc == -2) {
+		if (rc == -2 && isrv.v0) {
 			printk(KERN_INFO "Increasing MCA rendezvous timeout from "
 				"%ld to %ld milliseconds\n", timeout, isrv.v0);
 			timeout = isrv.v0;
