diff options
Diffstat (limited to 'include/asm-ia64/sn/xpc.h')
| -rw-r--r-- | include/asm-ia64/sn/xpc.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/asm-ia64/sn/xpc.h b/include/asm-ia64/sn/xpc.h index e52b850808..8e5d7de9c6 100644 --- a/include/asm-ia64/sn/xpc.h +++ b/include/asm-ia64/sn/xpc.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * License. See the file "COPYING" in the main directory of this archive | 3 | * License. See the file "COPYING" in the main directory of this archive |
| 4 | * for more details. | 4 | * for more details. |
| 5 | * | 5 | * |
| 6 | * Copyright (c) 2004-2006 Silicon Graphics, Inc. All Rights Reserved. | 6 | * Copyright (c) 2004-2007 Silicon Graphics, Inc. All Rights Reserved. |
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | 9 | ||
| @@ -1211,6 +1211,12 @@ 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 (is_shub2()) { | ||
| 1215 | if (BTE_VALID_SH2_ERROR(error)) | ||
| 1216 | return xpcBteSh2Start + error; | ||
| 1217 | else | ||
| 1218 | return xpcBteUnmappedError; | ||
| 1219 | } | ||
| 1214 | switch (error) { | 1220 | switch (error) { |
| 1215 | case BTE_SUCCESS: return xpcSuccess; | 1221 | case BTE_SUCCESS: return xpcSuccess; |
| 1216 | case BTEFAIL_DIR: return xpcBteDirectoryError; | 1222 | case BTEFAIL_DIR: return xpcBteDirectoryError; |
