Commit e1c48554 authored by Russ Anderson's avatar Russ Anderson Committed by Tony Luck

[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: default avatarTony Luck <tony.luck@intel.com>
parent f032f908
...@@ -568,10 +568,15 @@ recover_from_processor_error(int platform, slidx_table_t *slidx, ...@@ -568,10 +568,15 @@ recover_from_processor_error(int platform, slidx_table_t *slidx,
return 0; return 0;
/* /*
* If there is no bus error, record is weird but we need not to recover. * The cache check and bus check bits have four possible states
* cc bc
* 0 0 Weird record, not recovered
* 1 0 Cache error, not recovered
* 0 1 I/O error, attempt recovery
* 1 1 Memory error, attempt recovery
*/ */
if (psp->bc == 0 || pbci == NULL) if (psp->bc == 0 || pbci == NULL)
return 1; return 0;
/* /*
* Sorry, we cannot handle so many. * Sorry, we cannot handle so many.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment