diff options
author | Colin Ngam <cngam@sgi.com> | 2005-03-18 18:38:00 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-05-03 16:21:03 -0400 |
commit | c0b12422e5e1d041026dd27074de17d2d7e32c4e (patch) | |
tree | 1818ff91a52bea353469ba787f492dd2ca303fe2 /arch | |
parent | 3a7d555bfc4d4631d9118fb4d0ed7ab62cc2ca1c (diff) |
[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')
-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 18160a06a8c9..9e07f5463f21 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) | |||
174 | if (status) | 174 | if (status) |
175 | continue; | 175 | continue; |
176 | 176 | ||
177 | /* Attach the error interrupt handlers */ | ||
178 | if (nasid & 1) | ||
179 | ice_error_init(hubdev); | ||
180 | else | ||
181 | hub_error_init(hubdev); | ||
182 | |||
177 | for (widget = 0; widget <= HUB_WIDGET_ID_MAX; widget++) | 183 | for (widget = 0; widget <= HUB_WIDGET_ID_MAX; widget++) |
178 | hubdev->hdi_xwidget_info[widget].xwi_hubinfo = hubdev; | 184 | hubdev->hdi_xwidget_info[widget].xwi_hubinfo = hubdev; |
179 | 185 | ||
@@ -211,10 +217,6 @@ static void sn_fixup_ionodes(void) | |||
211 | sn_flush_device_list; | 217 | sn_flush_device_list; |
212 | } | 218 | } |
213 | 219 | ||
214 | if (!(i & 1)) | ||
215 | hub_error_init(hubdev); | ||
216 | else | ||
217 | ice_error_init(hubdev); | ||
218 | } | 220 | } |
219 | 221 | ||
220 | } | 222 | } |