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.
This change is a requirement to update our DRM drivers to Linux 5.12.
Differential D37365
linuxkpi: Include <linux/list.h> and <linux/kernel.h> from <linux/mutex.h> dumbbell on Nov 11 2022, 6:28 PM. Authored by Tags None Referenced Files
Details 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. This change is a requirement to update our DRM drivers to Linux 5.12.
Diff Detail
|