]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: Include <linux/list.h> and <linux/kernel.h> from <linux/mutex.h>
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>
Fri, 11 Nov 2022 19:59:40 +0000 (20:59 +0100)
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>
Fri, 11 Nov 2022 19:59:40 +0000 (20:59 +0100)
commit42bb5861162f071708406a8f70bcc6da5b832dc3
treec368b5c94988307128e42c6636e36492a2c5dc62
parent24c7853f39d0f68d92f97880df2428f9e78e165d
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
sys/compat/linuxkpi/common/include/linux/mutex.h