The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=3716da91b1a6288b858b4e9b55052836e7cd01b6
commit 3716da91b1a6288b858b4e9b55052836e7cd01b6 Author: Sourojeet A <[email protected]> AuthorDate: 2026-09-09 18:54:53 +0000 Commit: Ed Maste <[email protected]> CommitDate: 2026-09-09 19:00:43 +0000 LinuxKPI: Add tgid to task_struct under sched.h The amdkfd driver requires the `tgid` to be a part of the `task_struct`. This patch introduces the `tgid` member to `task_struct`. Reviewed by: bz Sponsored By: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D58228 --- sys/compat/linuxkpi/common/include/linux/sched.h | 1 + sys/sys/param.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/include/linux/sched.h b/sys/compat/linuxkpi/common/include/linux/sched.h index 4e2a0f3676a9..82c5d8b859ee 100644 --- a/sys/compat/linuxkpi/common/include/linux/sched.h +++ b/sys/compat/linuxkpi/common/include/linux/sched.h @@ -77,6 +77,7 @@ struct task_struct { atomic_t state; atomic_t kthread_flags; pid_t pid; /* BSD thread ID */ + pid_t tgid; const char *comm; void *bsd_ioctl_data; unsigned bsd_ioctl_len; diff --git a/sys/sys/param.h b/sys/sys/param.h index bad2829148a6..59906560e382 100644 --- a/sys/sys/param.h +++ b/sys/sys/param.h @@ -74,7 +74,7 @@ * cannot include sys/param.h and should only be updated here. */ #undef __FreeBSD_version -#define __FreeBSD_version 1600024 +#define __FreeBSD_version 1600025 /* * __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,
