HomeFreeBSD

linuxkpi: Move `IS_ENABLED()` and friends to <linux/kconfig.h>

Description

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)

Details

Provenance
dumbbellAuthored on Feb 13 2023, 8:52 PM
Reviewer
bz
Differential Revision
D38567: linuxkpi: Move `IS_ENABLED()` and friends to <linux/kconfig.h>
Parents
rG19b261f1788d: linuxkpi: Add <linux/cc_platform.h>
Branches
Unknown
Tags
Unknown