From nobody Thu Sep 1 12:10:51 2022 X-Original-To: dev-commits-src-main@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 4MJKd74wkCz4bRR2; Thu, 1 Sep 2022 12:10:51 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MJKd74PfBz3w5F; Thu, 1 Sep 2022 12:10:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662034251; 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=65L+3qZtTOMhF32pk94dQE4GmdHA9l2FiYrryxFtcv4=; b=D31IHfwwDDVgS2jUyPJihRzS6Iri6wLg46TtuEFqIrNwo/cZK72YI9FuACB538stjtisBA apVR4a3QdcGEqO/ox6a7ZV+1aI3tIkVm541ZOGtASnfPdDxsgIfmrQpYvQ5spWWn/kDiSw QUU9kMk34vs0ygRnGPzHQZKVb5U9UHaOMyrtIZyXPt/OxVTspHrPd67/xmBrrMfnfUanGt N+H4TJc4YlueJ1OCD8y6e2BieB92DPcH9Lu0IYnS7vYiEPial2/tpzvepsXUekg+oL26AJ WTzyWfIYnQdpqVloky2pIa1RvNya2rEa7E+JbWsf1I/6B/zv+tWW1ow3PIdK2g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MJKd73S6rzSXH; Thu, 1 Sep 2022 12:10:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 281CApUU030832; Thu, 1 Sep 2022 12:10:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 281CApYZ030831; Thu, 1 Sep 2022 12:10:51 GMT (envelope-from git) Date: Thu, 1 Sep 2022 12:10:51 GMT Message-Id: <202209011210.281CApYZ030831@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Tijl Coosemans Subject: git: 598b6d4a7c78 - main - i386 machine/cpu.h: include sys/systm.h for cpu_ticks() List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tijl X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 598b6d4a7c789102caf7a7b36659465b67302045 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662034251; 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=65L+3qZtTOMhF32pk94dQE4GmdHA9l2FiYrryxFtcv4=; b=ECsQp/Bb4hA36TKoxpi15O1elnfDvF11EgmwTyXx96yhdri1dsTwgrJkiuiJhdnuLJ6Bzn 34YBCe1M2va2e/g1B91ZjM9dpTYZ+TRSp/sQ6NVlXafn4A5C7LV9I+6ylmVNN11AGnkMAj z7iPiXzWk0uSjkUMi2+V1eieUBZSHguX92MdyKa0NIKh+Zz5CYtremhRH429IBbawUCyWp qAldZem8U4Q7DGF7zHycOwEGTK3f4WVYy32iZyaVqiuwqh4WXeaJdbCXtv4nnfteRlfhyE kf2lcUKMy0qoxtUxKKCssY6rNk1qswQDqUGACPcx80zLwYT+owdGjYr+iNQi6w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662034251; a=rsa-sha256; cv=none; b=i5bCGbzIOSswKRjjLc8N68aMV8u3X+UD0hz+VAL3vg7fBb4TQ6wsIKNECX0jhIEH1uAn1h OB2+oJ4vg8C8YjzIu3voSV9BNtNUeaQY5mhsGXV04Kq6LgFUpE+JdcYiv30d9yeSOCo9Ir TMLMRLy0w7PYYaeQChztx66BIyEZnGdhCCy/ui5x9EfJGOyzUfiUHMN/UjBkQngLMyuyvJ hHf7cyM35URA3imBMWm55Y3HcrYFCun0ypIjqQ/hXM24tFzoXeLOced5n7qz71x215Nxjb fJrmrQpQ4Lt+n7pT/KIJeKHj8VVUzLC8htzMv8bXMdlR69c+jKIFZ3PRV5i2QQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tijl: URL: https://cgit.FreeBSD.org/src/commit/?id=598b6d4a7c789102caf7a7b36659465b67302045 commit 598b6d4a7c789102caf7a7b36659465b67302045 Author: Tijl Coosemans AuthorDate: 2022-08-31 18:56:49 +0000 Commit: Tijl Coosemans CommitDate: 2022-09-01 11:54:00 +0000 i386 machine/cpu.h: include sys/systm.h for cpu_ticks() Fixes build of graphics/drm-510-kmod on i386. --- sys/i386/include/cpu.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/i386/include/cpu.h b/sys/i386/include/cpu.h index df35c9e92cc7..50ff4961b388 100644 --- a/sys/i386/include/cpu.h +++ b/sys/i386/include/cpu.h @@ -41,6 +41,9 @@ /* * Definitions unique to i386 cpu support. */ +#ifdef _KERNEL +#include /* For cpu_ticks(). */ +#endif #include #include #include