aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDeepthi Dharwar <deepthi@linux.vnet.ibm.com>2014-07-24 12:03:01 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-07-25 14:10:52 +1000
commit1096aa250f0043df478e3d182018ff2218e89a4b (patch)
tree89fdc7214e8516e03dd46dda4aa575452ee242df /include
parentfa023052dfec598262b41e277850d78780c42639 (diff)
downloadskiboot-1096aa250f0043df478e3d182018ff2218e89a4b.zip
skiboot-1096aa250f0043df478e3d182018ff2218e89a4b.tar.gz
skiboot-1096aa250f0043df478e3d182018ff2218e89a4b.tar.bz2
elog: Remove opal prefix from data structures in errorlog.h
Remove opal prefix from opal_* structures in errorlog.h Signed-off-by: Deepthi Dharwar <deepthi@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include')
-rw-r--r--include/errorlog.h4
-rw-r--r--include/fsp-elog.h8
2 files changed, 6 insertions, 6 deletions
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);