aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/mca_drv.c
diff options
context:
space:
mode:
authorRuss Anderson <rja@efs.americas.sgi.com>2006-03-03 17:42:26 -0500
committerTony Luck <tony.luck@intel.com>2006-03-07 18:40:06 -0500
commite1c48554ae295de984eee83a7798e7fb394a1629 (patch)
tree1404fbe42ec92fdfbd9f5054bf0d6cfb8b152366 /arch/ia64/kernel/mca_drv.c
parentf032f90809ebbbd28feb90f97add2e0a869a42ed (diff)
[IA64] mca recovery return value when no bus check
When there is no bus check, the return code should be failure, not success. Signed-off-by: Russ Anderson (rja@sgi.com) Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/mca_drv.c')
-rw-r--r--arch/ia64/kernel/mca_drv.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/ia64/kernel/mca_drv.c b/arch/ia64/kernel/mca_drv.c
index 53ffb0633c70..e883d85906db 100644
--- a/arch/ia64/kernel/mca_drv.c
+++ b/arch/ia64/kernel/mca_drv.c
@@ -568,10 +568,15 @@ recover_from_processor_error(int platform, slidx_table_t *slidx,
568 return 0; 568 return 0;
569 569
570 /* 570 /*
571 * If there is no bus error, record is weird but we need not to recover. 571 * The cache check and bus check bits have four possible states
572 * cc bc
573 * 0 0 Weird record, not recovered
574 * 1 0 Cache error, not recovered
575 * 0 1 I/O error, attempt recovery
576 * 1 1 Memory error, attempt recovery
572 */ 577 */
573 if (psp->bc == 0 || pbci == NULL) 578 if (psp->bc == 0 || pbci == NULL)
574 return 1; 579 return 0;
575 580
576 /* 581 /*
577 * Sorry, we cannot handle so many. 582 * Sorry, we cannot handle so many.