git: d950c5898a2d - main - vm/vm_extern.h, vm/vm_page.h: use sys/kassert.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 01 Feb 2022 04:53:24 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=d950c5898a2d8733cd6e75e7ef82b08acac79b34 commit d950c5898a2d8733cd6e75e7ef82b08acac79b34 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2022-01-29 03:39:30 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2022-02-01 03:55:35 +0000 vm/vm_extern.h, vm/vm_page.h: use sys/kassert.h instead of fatty sys/systm.h. Suggested by: jhb Reviewed by: alc, imp, jhb (previous version) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D34089 --- sys/vm/vm_extern.h | 2 +- sys/vm/vm_page.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/vm/vm_extern.h b/sys/vm/vm_extern.h index ce733b92c87e..680d13fbad09 100644 --- a/sys/vm/vm_extern.h +++ b/sys/vm/vm_extern.h @@ -42,7 +42,7 @@ struct vnode; struct vmem; #ifdef _KERNEL -#include <sys/systm.h> +#include <sys/kassert.h> struct cdev; struct cdevsw; diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h index 7183e0577bba..d2f6a471e8b0 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> /*