summaryrefslogtreecommitdiffstats
path: root/include/stack.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stack.h')
-rw-r--r--include/stack.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/stack.h b/include/stack.h
index 7578cc34..ae910a32 100644
--- a/include/stack.h
+++ b/include/stack.h
@@ -118,15 +118,12 @@ extern void *boot_stack_top;
/* Create a backtrace */
void ___backtrace(struct bt_entry *entries, unsigned int *count,
- unsigned long r1,
unsigned long *token, unsigned long *r1_caller);
static inline void __backtrace(struct bt_entry *entries, unsigned int *count)
{
unsigned long token, r1_caller;
- ___backtrace(entries, count,
- (unsigned long)__builtin_frame_address(0),
- &token, &r1_caller);
+ ___backtrace(entries, count, &token, &r1_caller);
}
/* Convert a backtrace to ASCII */
OpenPOWER on IntegriCloud