From nobody Wed Apr 1 04:34:11 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 4flsZW52PHz6Rbhg for ; Wed, 01 Apr 2026 04:34:11 +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 4flsZW2LDgz3M89 for ; Wed, 01 Apr 2026 04:34:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775018051; 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=DUPzuQ4w2arXQEP2M4nB77uM4WDnXzkBu3PLZ+g+fuY=; b=c2Hz1QVpqF00DV+mgvhJ94nXJ4ahzPvzL5viYz1tEnxx2o/ECMzrSEchciVX7taQWnG52s cgxygDf7zm31NWq9fdaDFVVCx6KCnwcwS0IlOGR57jgYb0TRQLhfHB0GjsinYNjSBfwotQ J2D7qfRk2NNt/T1kXBIqHi7RVekJsAgtCvD9Mc14PZKiP+jiMrNRiUk0JF4AHUXE0VoR1Q fH4QiLYgt6FyEb/lUDSTQ7WDa9dLTLdwUHWfwB0hTxcHoN1bZvG44PTBe0pteG3DdRFF8q LNW/w6cYi4ZVlxKivlG7vsgEmvZijpqN13bL1ohWuacqJcpCHXmv319iaCTjXw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1775018051; a=rsa-sha256; cv=none; b=OZmsiQHf/V7uRKYruGVqHb8gXXTjAFb7qyjUH7GBCAlk9wlh+9oNV3orbvoG2q2d+jbcRJ ZWqaTqKycTnedeBWfbqeU33+mEhgDmq+77sTcHHa6/br9DDEkwU5uG0lepDcF7GVURyTCh hpQKha97QozTUe72Q/+g7cbYclRhS5nOxOtHW+IyxqGQXf/13VWIBT5YKLPSXr/gbMVTK2 wrC/bf6MG72YQdu3XRq4USmbxB5lMRCcz/BaSddZzl8QrBB2JCWdfa1b997Cl1WdXovbB8 8n6winRxkqf8tF/6x6e/bihwXXvQuLOa5Q9d/YwTeNcNgNG1kzWIH7eOD/iQMg== 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=1775018051; 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=DUPzuQ4w2arXQEP2M4nB77uM4WDnXzkBu3PLZ+g+fuY=; b=ooGv4rEAZsKgcZUVf2AsPuVtUYszGXe2n15Fzzhmicj8cvNPo6JUb965g+zvG9gHeDcUJd iW9eZPnJ1ac7RpyNvDTCAmO5Pr3I5uJApWtHDw15TNpZcslusH7M/G3Ezzchb8lgJMjnnz EmqIL764vSMhSwzd9by4ACRH4knbof0CSEPbcVDdN7R6OEZjJuuwmiEYK8tp3pVLABE5KM qPHhKwRU0en9Q7zP/GhXo5ITccOOnhHwQBlsaign62FvvqSdRPdkZmtxZVZHSLRLMWgCMA P3ff20uo0b/bPOVdONKDDMaT3oFDhQ5Svky+v1p0/Y6uIyHIZ1CHbrZvMXBF8w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4flsZW1VGSz11B1 for ; Wed, 01 Apr 2026 04:34:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 415b9 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 01 Apr 2026 04:34:11 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Bjoern A. Zeeb Subject: git: 7d069d784651 - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: 7d069d7846519eb015133758647ee343e7d7f20a Auto-Submitted: auto-generated Date: Wed, 01 Apr 2026 04:34:11 +0000 Message-Id: <69cca043.415b9.372e059b@gitrepo.freebsd.org> The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=7d069d7846519eb015133758647ee343e7d7f20a commit 7d069d7846519eb015133758647ee343e7d7f20a Author: Bjoern A. Zeeb AuthorDate: 2026-03-19 20:29:29 +0000 Commit: Bjoern A. Zeeb CommitDate: 2026-04-01 04:33:47 +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) (cherry picked from commit 29dce45d8c50ea5858dc91a4294e83b8d72a2f80) --- 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 b8874481f9c6..c1f9f943c80f 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 2992e41c9c02..9505defc5fa7 100644 --- a/sys/compat/linuxkpi/common/include/linux/spinlock.h +++ b/sys/compat/linuxkpi/common/include/linux/spinlock.h @@ -40,6 +40,7 @@ #include #include #include +#include typedef struct mtx spinlock_t;