amd64 trap.c: provide tag for the struct sfhandlers definition

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov
2026-03-03 08:37:03 +02:00
parent 23dc4850fb
commit 8cc1c0f35e
+4 -2
View File
@@ -319,10 +319,12 @@ trap_check_intr_kernel(struct thread *td, struct trapframe *frame)
/*
* Table of handlers for various segment load faults.
*/
static const struct {
struct sfhandler {
uintptr_t faddr;
uintptr_t fhandler;
} sfhandlers[] = {
};
static const struct sfhandler sfhandlers[] = {
{
.faddr = (uintptr_t)ld_ds,
.fhandler = (uintptr_t)ds_load_fault,