diff options
-rw-r--r-- | include/asm-powerpc/ps3.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/asm-powerpc/ps3.h b/include/asm-powerpc/ps3.h index a6f3f5ee7ca7..f577a16c6728 100644 --- a/include/asm-powerpc/ps3.h +++ b/include/asm-powerpc/ps3.h | |||
@@ -229,6 +229,9 @@ enum lv1_result { | |||
229 | LV1_INVALID_CLASS_ID = -21, | 229 | LV1_INVALID_CLASS_ID = -21, |
230 | LV1_CONSTRAINT_NOT_SATISFIED = -22, | 230 | LV1_CONSTRAINT_NOT_SATISFIED = -22, |
231 | LV1_ALIGNMENT_ERROR = -23, | 231 | LV1_ALIGNMENT_ERROR = -23, |
232 | LV1_HARDWARE_ERROR = -24, | ||
233 | LV1_INVALID_DATA_FORMAT = -25, | ||
234 | LV1_INVALID_OPERATION = -26, | ||
232 | LV1_INTERNAL_ERROR = -32768, | 235 | LV1_INTERNAL_ERROR = -32768, |
233 | }; | 236 | }; |
234 | 237 | ||
@@ -284,6 +287,12 @@ static inline const char* ps3_result(int result) | |||
284 | return "LV1_CONSTRAINT_NOT_SATISFIED (-22)"; | 287 | return "LV1_CONSTRAINT_NOT_SATISFIED (-22)"; |
285 | case LV1_ALIGNMENT_ERROR: | 288 | case LV1_ALIGNMENT_ERROR: |
286 | return "LV1_ALIGNMENT_ERROR (-23)"; | 289 | return "LV1_ALIGNMENT_ERROR (-23)"; |
290 | case LV1_HARDWARE_ERROR: | ||
291 | return "LV1_HARDWARE_ERROR (-24)"; | ||
292 | case LV1_INVALID_DATA_FORMAT: | ||
293 | return "LV1_INVALID_DATA_FORMAT (-25)"; | ||
294 | case LV1_INVALID_OPERATION: | ||
295 | return "LV1_INVALID_OPERATION (-26)"; | ||
287 | case LV1_INTERNAL_ERROR: | 296 | case LV1_INTERNAL_ERROR: |
288 | return "LV1_INTERNAL_ERROR (-32768)"; | 297 | return "LV1_INTERNAL_ERROR (-32768)"; |
289 | default: | 298 | default: |