From nobody Sat Mar 21 21:17:01 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 4fdXLj5cC8z6W3dC for ; Sat, 21 Mar 2026 21:17:01 +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 4fdXLj2hSbz3CMT for ; Sat, 21 Mar 2026 21:17:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1774127821; 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=MJ6yRkFyiqvBafyt2Nnsj78mIyxNjehuB/xbGZj0gB8=; b=pYxDGj5YTj2CGZh6hT3K1hZNqac07XRfTUHTltm6dhY6Zweq4RFErVvNZpwOyccu/Y9bqV d/a8Z4+Vl/evJ8cEqadUmTzSj6L2Z8oPEVR6XszO79G6qP2sNQYqk2agtj3GLU8T86EyRM qll2NDX5ou4+hoUEVF4uTpX7uUjmeEgeZTk3GDWYmpxiKmFCC3g4T3M0AtMsbYanl0Aru+ O48F6/+3DKlci+a+IiixWSUo7/LY4cQuRPUn9HEPOhVjfOEcZVuu/6yWNdB1ZulnTwwKUd STEIcRU5EKcYs3WOb3bQTZ0t8tKfuSFaMDbCgIWZ4IzL6L01Xd1S1fIIi1DDBA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1774127821; a=rsa-sha256; cv=none; b=MrxcHIHQOgMCpxYQC1wpoM5jPIIB88l8/VGCF998aSIJoMoEyfraSilyF/a/fyVLN5PKC6 zNH/Rcxgesurkj26fIavV43JODRoYY1BODtMWKRnWBIdQsqu7Ik/VSa6MmIpZTCJGRqJv1 2mVQpnKGGMtiAXLAgZyp76FPhovu9PTfy9fmLPo2PCjoedhE9uExJQg+mIaK1ah9tgPMTS uuM4E7XKzRgU2SMQdbPa5Q3kEnLSWQn5qIHeyzOl0jVAGxF+1c29EoYuUUQ1MFY4WIX6Hc M1P2bzJxb+llNYUu7e7cHaHL+XGyhOWl8kpjHMHOE6ppYJo/SrNrDrnruragXw== 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=1774127821; 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=MJ6yRkFyiqvBafyt2Nnsj78mIyxNjehuB/xbGZj0gB8=; b=nNxxAo56wrOouG2htViez2yZ2xkvdVYqiEb638pviPXTZeO/YetYv0sQNOfLN1NZK37QyO ukxPVZn8bCx4zVPl+Y8G3nvC6kReYc68PWbPBcbpikiOmusYxj5eOY1V/l+nd+T3Gz4rtw 0FBI3DXxYFYDso6aNMZS7zCwFB9A0Se78tT/RWrGri3N0XE9o9944A/xXXUL4LMcFRuF2P B+8GQtHe+3iFJ40aEMVJaSkbG2W5q3ewnq+HW1K5UWYAFGL1/IP6250XsdiKz9Eli9pyma TXymoArqXL9V8Bv9UcJYchb9ucKGWf2mhGb/62ifhsm1/kKWBFOgeRzVVQ7leQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fdXLj1kwNzD9X for ; Sat, 21 Mar 2026 21:17:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1d947 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sat, 21 Mar 2026 21:17:01 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Bjoern A. Zeeb Subject: git: 1d18872c2519 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 1d18872c2519d7ca726ddc49735180ab1d8916e0 Auto-Submitted: auto-generated Date: Sat, 21 Mar 2026 21:17:01 +0000 Message-Id: <69bf0acd.1d947.5350973b@gitrepo.freebsd.org> The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=1d18872c2519d7ca726ddc49735180ab1d8916e0 commit 1d18872c2519d7ca726ddc49735180ab1d8916e0 Author: Bjoern A. Zeeb AuthorDate: 2026-03-19 20:29:29 +0000 Commit: Bjoern A. Zeeb CommitDate: 2026-03-21 21:16:43 +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 MFC after: 3 days PR: 279864 Reviewed by: jhibbits, emaste Differential Revision: https://reviews.freebsd.org/D55974 --- 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 63dc343d1461..a786cbab5e13 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;