aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/rtas.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/asm/rtas.h')
-rw-r--r--arch/powerpc/include/asm/rtas.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/rtas.h b/arch/powerpc/include/asm/rtas.h
index 076b89247ab5..ec9dd79398ee 100644
--- a/arch/powerpc/include/asm/rtas.h
+++ b/arch/powerpc/include/asm/rtas.h
@@ -307,6 +307,7 @@ struct pseries_hp_errorlog {
307 union { 307 union {
308 __be32 drc_index; 308 __be32 drc_index;
309 __be32 drc_count; 309 __be32 drc_count;
310 struct { __be32 count, index; } ic;
310 char drc_name[1]; 311 char drc_name[1];
311 } _drc_u; 312 } _drc_u;
312}; 313};
@@ -323,6 +324,7 @@ struct pseries_hp_errorlog {
323#define PSERIES_HP_ELOG_ID_DRC_NAME 1 324#define PSERIES_HP_ELOG_ID_DRC_NAME 1
324#define PSERIES_HP_ELOG_ID_DRC_INDEX 2 325#define PSERIES_HP_ELOG_ID_DRC_INDEX 2
325#define PSERIES_HP_ELOG_ID_DRC_COUNT 3 326#define PSERIES_HP_ELOG_ID_DRC_COUNT 3
327#define PSERIES_HP_ELOG_ID_DRC_IC 4
326 328
327struct pseries_errorlog *get_pseries_errorlog(struct rtas_error_log *log, 329struct pseries_errorlog *get_pseries_errorlog(struct rtas_error_log *log,
328 uint16_t section_id); 330 uint16_t section_id);