From nobody Tue Mar 31 20:28:15 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4flfnr4KB1z6Y0Kc for ; Tue, 31 Mar 2026 20:28:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4flfnq6cgjz3QlW for ; Tue, 31 Mar 2026 20:28:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1774988895; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+ffWCUGAMQncPFG+ZwUE7yBmUf9JhQsclnqsiRn9X/o=; b=ZLWL/EKJXOwkoqf0BJ/FxLWENwq6zANoPjuGH0T+SbKJO3OIAmsIvhHaUtEiRYeaEzvGIj uDGImjEte9GSKMpwEKDCwn8ocmqzcep0cF5NhpkVX9z+Lnh1m4SIeTrfPRZINIWPvKVZ6W ObQwbvn9L1x/FKeehatg14gfV6P9/Nw+5Kr2yTapLNCN2iYsQwxVL2VdEjF5vQs0uY9KXH o6Wwig2i6K4/HTh3KHXV5b+HKnKlpFsjkZGZGyV/ZG4yzDaWbTylKswC9xSPD6E5Bfm92J rKl4Ks4x2K68QSXiyvbl/CPDF2PVap9aA9TsflQv5OAN37K/n3OjsZY78dJ3dw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1774988895; a=rsa-sha256; cv=none; b=cdJD8M3xSeY90oPRboOzfofHFnz3oMSbrSnzbdw7W/YcPMZz6Xd1QeJiVQ9U+Pry+tEGVk 4ES/cGAUaBbvSL/k0sRjp8cM3ol71qKTg70Pq2D1akkuKjEgvFagIULiaAz6Q3XV49g8Xu 2gcHPN70UKCIgs3chZ161zf6o+At7S1tIynBp0D2MyFfWfxy9idHUNjk8a+r38iOkBWFAk UFspNwIKddhAYglvil0D2/Pg+wSVcaJDI3SXAOReM49FERWn1qEFO6CQoGrNxqEz2a7cgN dtGUhYwW2UqWnQQURm1C/Ps3oVI6C5lnZkBA38/FozlEfdXkiI+Bp6u1BLWnow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1774988895; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+ffWCUGAMQncPFG+ZwUE7yBmUf9JhQsclnqsiRn9X/o=; b=GHBBrItoBmPDDZXeDjN8NIA4qtM/fUja74Wx5zzuAInHx/bntoFKdhBKrTvJWOykRcKFrb Jk8rDXFEScnGPw+eDZvBVDRp5VqMvyEstzYFqVdyv06aYxcxA8ox9vpdQ36zZt6Vc6pFVN DUfClxcxgQTjy8JtJeEaAkXZrv4Ns+9d7dv5oN0gJ2ytYY/Kb/44265Uow5aTxLiUQ5ILc 6o2NQX+6Sl66oNZtHF04aGQ1HLp4hewGAdZ2A2vwPB4m2uAVxNVJHnyoSBofGsZa3/LhbP YTcYPC9wqrGgeXtYQyDGW2Ken52/IUNcoG6FBxXS2JI8WIioEyXPYfFCSmga1w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4flfnq67wpzkbl for ; Tue, 31 Mar 2026 20:28:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 26dc4 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 31 Mar 2026 20:28:15 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Bjoern A. Zeeb Subject: git: 29dce45d8c50 - stable/15 - LinuxKPI: add supporting #includes List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 29dce45d8c50ea5858dc91a4294e83b8d72a2f80 Auto-Submitted: auto-generated Date: Tue, 31 Mar 2026 20:28:15 +0000 Message-Id: <69cc2e5f.26dc4.671fe228@gitrepo.freebsd.org> The branch stable/15 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=29dce45d8c50ea5858dc91a4294e83b8d72a2f80 commit 29dce45d8c50ea5858dc91a4294e83b8d72a2f80 Author: Bjoern A. Zeeb AuthorDate: 2026-03-19 20:29:29 +0000 Commit: Bjoern A. Zeeb CommitDate: 2026-03-31 16:22:51 +0000 LinuxKPI: add supporting #includes Compiling drm-kmod on !X86 does not include asm/smp.h which includes preempt.h on FreeBSD. In order to compile drm-kmod on other architectures add the secondary #includes for preempt.h to spinlock.h and hardirq.h (which now also gets included from highmem.h) to connect the #include chain. Sponsored by: The FreeBSD Foundation PR: 279864 Reviewed by: jhibbits, emaste Differential Revision: https://reviews.freebsd.org/D55974 (cherry picked from commit 1d18872c2519d7ca726ddc49735180ab1d8916e0) --- sys/compat/linuxkpi/common/include/linux/hardirq.h | 1 + sys/compat/linuxkpi/common/include/linux/highmem.h | 1 + sys/compat/linuxkpi/common/include/linux/spinlock.h | 1 + 3 files changed, 3 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/hardirq.h b/sys/compat/linuxkpi/common/include/linux/hardirq.h index f79451dd0d35..c6cbf1a34f14 100644 --- a/sys/compat/linuxkpi/common/include/linux/hardirq.h +++ b/sys/compat/linuxkpi/common/include/linux/hardirq.h @@ -31,6 +31,7 @@ #include #include +#include #include #include diff --git a/sys/compat/linuxkpi/common/include/linux/highmem.h b/sys/compat/linuxkpi/common/include/linux/highmem.h index 58a9cdcdf60f..dc1c4fe2f299 100644 --- a/sys/compat/linuxkpi/common/include/linux/highmem.h +++ b/sys/compat/linuxkpi/common/include/linux/highmem.h @@ -45,6 +45,7 @@ #include #include +#include #define PageHighMem(p) (0) diff --git a/sys/compat/linuxkpi/common/include/linux/spinlock.h b/sys/compat/linuxkpi/common/include/linux/spinlock.h index a08edcf8f417..0ab81d92d4ef 100644 --- a/sys/compat/linuxkpi/common/include/linux/spinlock.h +++ b/sys/compat/linuxkpi/common/include/linux/spinlock.h @@ -41,6 +41,7 @@ #include #include #include +#include typedef struct mtx spinlock_t;