diff options
author | Colin Ngam <cngam@sgi.com> | 2005-03-18 23:38:00 (GMT) |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-05-03 20:21:03 (GMT) |
commit | c0b12422e5e1d041026dd27074de17d2d7e32c4e (patch) | |
tree | 1818ff91a52bea353469ba787f492dd2ca303fe2 /arch/ia64 | |
parent | 3a7d555bfc4d4631d9118fb4d0ed7ab62cc2ca1c (diff) | |
download | linux-fsl-qoriq-c0b12422e5e1d041026dd27074de17d2d7e32c4e.tar.xz |
[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: Colin Ngam <cngam@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/sn/kernel/io_init.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/ia64/sn/kernel/io_init.c b/arch/ia64/sn/kernel/io_init.c index 18160a0..9e07f54 100644 --- a/arch/ia64/sn/kernel/io_init.c +++ b/arch/ia64/sn/kernel/io_init.c @@ -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); } } |