HomeFreeBSD

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

Description

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

Details

Provenance
dumbbellAuthored on Nov 11 2022, 7:59 PM
Reviewer
manu
Differential Revision
D37365: linuxkpi: Include <linux/list.h> and <linux/kernel.h> from <linux/mutex.h>
Parents
rG24c7853f39d0: linuxkpi: Add <linux/mman.h> which includes <linux/smp.h>
Branches
Unknown
Tags
Unknown