From 1096aa250f0043df478e3d182018ff2218e89a4b Mon Sep 17 00:00:00 2001 From: Deepthi Dharwar Date: Thu, 24 Jul 2014 12:03:01 +0530 Subject: elog: Remove opal prefix from data structures in errorlog.h Remove opal prefix from opal_* structures in errorlog.h Signed-off-by: Deepthi Dharwar Signed-off-by: Benjamin Herrenschmidt --- include/errorlog.h | 4 ++-- include/fsp-elog.h | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/errorlog.h b/include/errorlog.h index b95d520..0032eff 100644 --- a/include/errorlog.h +++ b/include/errorlog.h @@ -98,7 +98,7 @@ #define OPAL_LOG_MAX_DUMP 14336 /* Multiple user data sections */ -struct __attribute__((__packed__))opal_user_data_section { +struct __attribute__((__packed__))elog_user_data_section { uint32_t tag; uint16_t size; uint16_t component_id; @@ -110,7 +110,7 @@ struct __attribute__((__packed__))opal_user_data_section { * needs to populate this structure using pre-defined interfaces * only */ -struct __attribute__((__packed__)) opal_errorlog { +struct __attribute__((__packed__)) errorlog { uint16_t component_id; uint8_t error_event_type; diff --git a/include/fsp-elog.h b/include/fsp-elog.h index 22fac40..8fa8ee6 100644 --- a/include/fsp-elog.h +++ b/include/fsp-elog.h @@ -344,7 +344,7 @@ struct opal_err_info { uint8_t subsystem; uint8_t sev; uint8_t event_subtype; - void (*call_out)(struct opal_errorlog *buf, void *data, uint16_t size); + void (*call_out)(struct errorlog *buf, void *data, uint16_t size); }; #define DEFINE_LOG_ENTRY(reason, type, id, subsys, \ @@ -355,12 +355,12 @@ severity, subtype, callout_func) struct opal_err_info err_##reason = \ #define e_info(reason_code) err_##reason_code -struct opal_errorlog *opal_elog_create(struct opal_err_info *e_info); +struct errorlog *opal_elog_create(struct opal_err_info *e_info); -int opal_elog_update_user_dump(struct opal_errorlog *buf, unsigned char *data, +int opal_elog_update_user_dump(struct errorlog *buf, unsigned char *data, uint32_t tag, uint16_t size); -int elog_fsp_commit(struct opal_errorlog *buf); +int elog_fsp_commit(struct errorlog *buf); bool opal_elog_info(uint64_t *opal_elog_id, uint64_t *opal_elog_size); -- cgit v1.1