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:
Mark Johnston 2023-06-15 12:10:44 -04:00
parent 1ee66195db
commit d325184232
2 changed files with 1 additions and 6 deletions

View file

@ -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.
*/

View file

@ -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) {