Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Sep 2022 12:10:51 GMT
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 598b6d4a7c78 - main - i386 machine/cpu.h: include sys/systm.h for cpu_ticks()
Message-ID:  <202209011210.281CApYZ030831@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by tijl:

URL: https://cgit.FreeBSD.org/src/commit/?id=598b6d4a7c789102caf7a7b36659465b67302045

commit 598b6d4a7c789102caf7a7b36659465b67302045
Author:     Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2022-08-31 18:56:49 +0000
Commit:     Tijl Coosemans <tijl@FreeBSD.org>
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 <sys/systm.h>			/* For cpu_ticks(). */
+#endif
 #include <machine/psl.h>
 #include <machine/frame.h>
 #include <machine/segments.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209011210.281CApYZ030831>