mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
arm64: Remove struct arm64_frame
It was used in one place and was added specifically to support dtrace stack unwinding code. Write an equivalent expression using struct unwind_state instead. No functional change intended. Reviewed by: andrew MFC after: 1 week Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D40538
This commit is contained in:
parent
1ee66195db
commit
d325184232
2 changed files with 1 additions and 6 deletions
|
|
@ -51,11 +51,6 @@ struct trapframe {
|
|||
uint64_t tf_x[30];
|
||||
};
|
||||
|
||||
struct arm64_frame {
|
||||
struct arm64_frame *f_frame;
|
||||
u_long f_retaddr;
|
||||
};
|
||||
|
||||
/*
|
||||
* Signal frame, pushed onto the user stack.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ dtrace_getustack_common(uint64_t *pcstack, int pcstack_limit, uintptr_t pc,
|
|||
break;
|
||||
|
||||
pc = dtrace_fuword64((void *)(fp +
|
||||
offsetof(struct arm64_frame, f_retaddr)));
|
||||
offsetof(struct unwind_state, pc)));
|
||||
fp = dtrace_fuword64((void *)fp);
|
||||
|
||||
if (fp == oldfp) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue