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

(cherry picked from commit 42bb5861162f071708406a8f70bcc6da5b832dc3)

Details

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