aboutsummaryrefslogtreecommitdiff
path: root/hw/ipmi
diff options
context:
space:
mode:
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>2019-03-18 15:28:59 +1100
committerStewart Smith <stewart@linux.ibm.com>2019-03-28 15:24:13 +1100
commitb965b9de25d2270c4ba65b3dc31fd9649a8c922f (patch)
tree14886e63958ff5f6a4cda241fb830b61e48dd955 /hw/ipmi
parente5a7411cd74ea60892ea3bd6479e4c6d0e253eff (diff)
downloadskiboot-b965b9de25d2270c4ba65b3dc31fd9649a8c922f.zip
skiboot-b965b9de25d2270c4ba65b3dc31fd9649a8c922f.tar.gz
skiboot-b965b9de25d2270c4ba65b3dc31fd9649a8c922f.tar.bz2
core/stack: Rename backtrace functions, get rid of wrappers
Rename ___backtrace() to backtrace_create() and ___print_backtrace() to backtrace_print(). Get rid of __backtrace() and __print_backtrace() wrappers. Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hw/ipmi')
-rw-r--r--hw/ipmi/ipmi-attn.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/ipmi/ipmi-attn.c b/hw/ipmi/ipmi-attn.c
index 8407188..c6c1c59 100644
--- a/hw/ipmi/ipmi-attn.c
+++ b/hw/ipmi/ipmi-attn.c
@@ -53,10 +53,9 @@ static void ipmi_log_terminate_event(const char *msg)
ti_size = IPMI_TI_BUFFER_SIZE - ti_len;
/* Backtrace */
- ___backtrace(bt_buf, STACK_BUF_ENTRIES, &metadata);
+ backtrace_create(bt_buf, STACK_BUF_ENTRIES, &metadata);
metadata.token = OPAL_LAST + 1;
- ___print_backtrace(bt_buf, &metadata, ti_buffer + ti_len, &ti_size,
- true);
+ backtrace_print(bt_buf, &metadata, ti_buffer + ti_len, &ti_size, true);
/* Create eSEL event and commit */
elog_buf = opal_elog_create(&e_info(OPAL_RC_ATTN), 0);