diff options
author | Russ Anderson <rja@sgi.com> | 2005-04-25 13:19:52 -0700 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-04-25 13:19:52 -0700 |
commit | 93a07d0a0e7b013ee73fb39d4edb07b47288912e (patch) | |
tree | e68ba0b39bcc8a9e844889af1229c024be29e95c /arch/ia64/sn/kernel/huberror.c | |
parent | 95ff439a517835aa2bdf725fafbb025a63984289 (diff) | |
download | kernel_samsung_tuna-93a07d0a0e7b013ee73fb39d4edb07b47288912e.zip kernel_samsung_tuna-93a07d0a0e7b013ee73fb39d4edb07b47288912e.tar.gz kernel_samsung_tuna-93a07d0a0e7b013ee73fb39d4edb07b47288912e.tar.bz2 |
[IA64-SGI] Shub2 BTE support - BTE recovery code
patch 2:
Shub2 BTE recovery code will be implemented in SAL.
Define the SAL interface.
Modify bte_error to call SAL for shub2.
Signed-off-by: Russ Anderson <rja@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/sn/kernel/huberror.c')
-rw-r--r-- | arch/ia64/sn/kernel/huberror.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/ia64/sn/kernel/huberror.c b/arch/ia64/sn/kernel/huberror.c index 2bdf684..5c39b43 100644 --- a/arch/ia64/sn/kernel/huberror.c +++ b/arch/ia64/sn/kernel/huberror.c @@ -3,7 +3,7 @@ * License. See the file "COPYING" in the main directory of this archive * for more details. * - * Copyright (C) 1992 - 1997, 2000,2002-2004 Silicon Graphics, Inc. All rights reserved. + * Copyright (C) 1992 - 1997, 2000,2002-2005 Silicon Graphics, Inc. All rights reserved. */ #include <linux/types.h> @@ -38,8 +38,11 @@ static irqreturn_t hub_eint_handler(int irq, void *arg, struct pt_regs *ep) if ((int)ret_stuff.v0) panic("hubii_eint_handler(): Fatal TIO Error"); - if (!(nasid & 1)) /* Not a TIO, handle CRB errors */ - (void)hubiio_crb_error_handler(hubdev_info); + if (is_shub1()) { + if (!(nasid & 1)) /* Not a TIO, handle CRB errors */ + (void)hubiio_crb_error_handler(hubdev_info); + } else + bte_error_handler((unsigned long)NODEPDA(nasid_to_cnodeid(nasid))); return IRQ_HANDLED; } |