Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2022 06:55:58 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 64e0f75f3928 - stable/13 - vm/vm_extern.h, vm/vm_page.h: use sys/kassert.h
Message-ID:  <202202080655.2186twe2053575@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=64e0f75f3928f5d92d7d8d29311f2542668bbb22

commit 64e0f75f3928f5d92d7d8d29311f2542668bbb22
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-01-29 03:39:30 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-02-08 06:42:07 +0000

    vm/vm_extern.h, vm/vm_page.h: use sys/kassert.h
    
    (cherry picked from commit d950c5898a2d8733cd6e75e7ef82b08acac79b34)
---
 sys/vm/vm_extern.h | 2 ++
 sys/vm/vm_page.h   | 3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys/vm/vm_extern.h b/sys/vm/vm_extern.h
index acdb361d3262..b81087a38558 100644
--- a/sys/vm/vm_extern.h
+++ b/sys/vm/vm_extern.h
@@ -42,6 +42,8 @@ struct vnode;
 struct vmem;
 
 #ifdef _KERNEL
+#include <sys/kassert.h>
+
 struct cdev;
 struct cdevsw;
 struct domainset;
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h
index 1785728b7a7e..7c996d1f55ab 100644
--- a/sys/vm/vm_page.h
+++ b/sys/vm/vm_page.h
@@ -472,8 +472,7 @@ extern struct mtx_padalign pa_lock[];
 
 #ifdef _KERNEL
 
-#include <sys/systm.h>
-
+#include <sys/kassert.h>
 #include <machine/atomic.h>
 
 /*



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