]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: Move `IS_ENABLED()` and friends to <linux/kconfig.h>
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>
Mon, 13 Feb 2023 20:52:08 +0000 (21:52 +0100)
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>
Thu, 16 Feb 2023 11:55:21 +0000 (12:55 +0100)
commit070d7997501f39ec351e2872b86407dacc12bc8a
tree1ce768f1ef31f6b077d3cb107bc1f8707bff5dd8
parent19b261f1788da0037d76188ae3152b301eb47d81
linuxkpi: Move `IS_ENABLED()` and friends to <linux/kconfig.h>

The header is included in <linux/xarray.h> like it is on Linux. Some DRM
code depends on this header "pollution".

Reviewed by: bz
Approved by: bz
Differential Revision: https://reviews.freebsd.org/D38567

(cherry picked from commit 4b0552d5f4ea0bd09d7f0f178810886472e84d63)
sys/compat/linuxkpi/common/include/linux/kconfig.h [new file with mode: 0644]
sys/compat/linuxkpi/common/include/linux/kernel.h
sys/compat/linuxkpi/common/include/linux/xarray.h