Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0b12422 authored by Colin Ngam's avatar Colin Ngam Committed by Tony Luck
Browse files

[IA64-SGI] Altix only: Register Error Interrupt



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.

Signed-off-by: default avatarColin Ngam <cngam@sgi.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 3a7d555b
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -174,6 +174,12 @@ static void sn_fixup_ionodes(void)
		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;

@@ -211,10 +217,6 @@ static void sn_fixup_ionodes(void)
			    sn_flush_device_list;
		}

		if (!(i & 1))
			hub_error_init(hubdev);
		else
			ice_error_init(hubdev);
	}

}