]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/ia64/kernel/mca_drv.c
[IA64] mca recovery return value when no bus check
[linux-2.6-omap-h63xx.git] / arch / ia64 / kernel / mca_drv.c
index 53ffb0633c70cada7df85231a75b136323aa1b53..e883d85906db5aa583db42f3dcbb9146e40af1a6 100644 (file)
@@ -568,10 +568,15 @@ recover_from_processor_error(int platform, slidx_table_t *slidx,
                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)
-               return 1;
+               return 0;
 
        /*
         * Sorry, we cannot handle so many.