Go to the documentation of this file. 1 #ifndef __LINUX_KCONFIG_H
2 #define __LINUX_KCONFIG_H
4 #include <generated/autoconf.h>
19 #define __ARG_PLACEHOLDER_1 0,
20 #define config_enabled(cfg) _config_enabled(cfg)
21 #define _config_enabled(value) __config_enabled(__ARG_PLACEHOLDER_##value)
22 #define __config_enabled(arg1_or_junk) ___config_enabled(arg1_or_junk 1, 0)
23 #define ___config_enabled(__ignored, val, ...) val
30 #define IS_ENABLED(option) \
31 (config_enabled(option) || config_enabled(option##_MODULE))
38 #define IS_BUILTIN(option) config_enabled(option)
44 #define IS_MODULE(option) config_enabled(option##_MODULE)