linuxkpi: Include <linux/list.h> and <linux/kernel.h> from <linux/mutex.h>

They are not really used in this header. However they are included in
Linux and at least the DRM drivers unfortunately rely on this namespace
pollution.

Reviewed by:	manu
Approved by:	manu
Differential Revision:	https://reviews.freebsd.org/D37365
This commit is contained in:
Jean-Sébastien Pédron 2022-11-11 20:59:40 +01:00
parent 24c7853f39
commit 42bb586116
No known key found for this signature in database
GPG Key ID: 39E99761A5FD94CC

View File

@ -36,6 +36,8 @@
#include <sys/lock.h>
#include <sys/sx.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/spinlock.h>
#include <asm/atomic.h>