git: 9889fac5b82c - main - kern_linker.c: re-apply some more bits from db887713de2bf5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Jun 2026 08:21:05 UTC
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=9889fac5b82c8de5b55c9ae708d57bc64c10c87a
commit 9889fac5b82c8de5b55c9ae708d57bc64c10c87a
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-06-17 07:12:29 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-06-17 08:20:25 +0000
kern_linker.c: re-apply some more bits from db887713de2bf5
The definition of the EXTERR_CATEGORY symbol in the .c file is needed
for the script to regenerate identical context of
gen/exterr_cat_filenames.h.
Sponsored by: The FreeBSD Foundation
---
sys/kern/kern_linker.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c
index 9559b5233a3e..b183d18eaea6 100644
--- a/sys/kern/kern_linker.c
+++ b/sys/kern/kern_linker.c
@@ -32,10 +32,12 @@
#include "opt_hwpmc_hooks.h"
#include "opt_hwt_hooks.h"
+#define EXTERR_CATEGORY EXTERR_CAT_LINKER
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/boottrace.h>
#include <sys/eventhandler.h>
+#include <sys/exterrvar.h>
#include <sys/fcntl.h>
#include <sys/jail.h>
#include <sys/kernel.h>