1 --- a/backport-include/linux/kconfig.h
2 +++ b/backport-include/linux/kconfig.h
4 #include_next <linux/kconfig.h>
7 +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0)
9 #ifndef __ARG_PLACEHOLDER_1
10 #define __ARG_PLACEHOLDER_1 0,
11 #define config_enabled(cfg) _config_enabled(cfg)
13 * 3.1 - 3.3 had a broken version of this, so undef
14 * (they didn't have __ARG_PLACEHOLDER_1)
18 #define IS_ENABLED(option) \
19 (config_enabled(option) || config_enabled(option##_MODULE))
22 #define IS_BUILTIN(option) config_enabled(option)
28 * IS_REACHABLE(CONFIG_FOO) evaluates to 1 if the currently compiled