diff options
-rw-r--r-- | include/asm-ia64/sn/xpc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-ia64/sn/xpc.h b/include/asm-ia64/sn/xpc.h index 8e5d7de9c632..3c0900ab8003 100644 --- a/include/asm-ia64/sn/xpc.h +++ b/include/asm-ia64/sn/xpc.h | |||
@@ -1211,11 +1211,13 @@ xpc_IPI_init(int index) | |||
1211 | static inline enum xpc_retval | 1211 | static inline enum xpc_retval |
1212 | xpc_map_bte_errors(bte_result_t error) | 1212 | xpc_map_bte_errors(bte_result_t error) |
1213 | { | 1213 | { |
1214 | if (error == BTE_SUCCESS) | ||
1215 | return xpcSuccess; | ||
1216 | |||
1214 | if (is_shub2()) { | 1217 | if (is_shub2()) { |
1215 | if (BTE_VALID_SH2_ERROR(error)) | 1218 | if (BTE_VALID_SH2_ERROR(error)) |
1216 | return xpcBteSh2Start + error; | 1219 | return xpcBteSh2Start + error; |
1217 | else | 1220 | return xpcBteUnmappedError; |
1218 | return xpcBteUnmappedError; | ||
1219 | } | 1221 | } |
1220 | switch (error) { | 1222 | switch (error) { |
1221 | case BTE_SUCCESS: return xpcSuccess; | 1223 | case BTE_SUCCESS: return xpcSuccess; |