[PATCH 2.6.12 0/0] Altix only: Register Error Interrupt Handlers correctly.

From: Colin Ngam <cngam_at_sgi.com>
Date: 2005-03-19 03:37:59
Hi Tony,

The following patch ensures that the correct error interrupt handling 
routine is initialized.  This patch is based on the 2.6.12 ia64 release tree.

Please accept this patch.

Signed-off-by: Colin Ngam <cngam@sgi.com>

===== arch/ia64/sn/kernel/io_init.c 1.9 vs edited =====
--- 1.9/arch/ia64/sn/kernel/io_init.c	2005-01-11 18:22:08 -06:00
+++ edited/arch/ia64/sn/kernel/io_init.c	2005-03-17 18:32:02 -06:00
@@ -142,6 +142,12 @@
 		if (status)
 			continue;
 
+		/* Attach the error interrupt handlers */
+		if (nasid & 1)
+			ice_error_init(hubdev);
+		else
+			hub_error_init(hubdev);
+
 		for (widget = 0; widget <= HUB_WIDGET_ID_MAX; widget++)
 			hubdev->hdi_xwidget_info[widget].xwi_hubinfo = hubdev;
 
@@ -179,10 +185,6 @@
 			    sn_flush_device_list;
 		}
 
-		if (!(i & 1))
-			hub_error_init(hubdev);
-		else
-			ice_error_init(hubdev);
 	}
 
 }
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Mar 18 11:40:34 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:37 EST