summaryrefslogtreecommitdiffstats
path: root/include/linux/export.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-06-14 14:58:54 +0900
committerMichal Marek <mmarek@suse.com>2016-06-20 22:42:32 +0200
commit4f920843d248946545415c1bf6120942048708ed (patch)
tree75cc8bd837bffdca7f7c96712d03c500100b37d7 /include/linux/export.h
parent78283edf2c01c38eb840a3de5ffd18fe2992ab64 (diff)
downloadlinux-4f920843d248946545415c1bf6120942048708ed.tar.gz
linux-4f920843d248946545415c1bf6120942048708ed.tar.bz2
linux-4f920843d248946545415c1bf6120942048708ed.zip
kconfig.h: use __is_defined() to check if MODULE is defined
The macro MODULE is not a config option, it is a per-file build option. So, config_enabled(MODULE) is not sensible. (There is another case in include/linux/export.h, where config_enabled() is used against a non-config option.) This commit renames some macros in include/linux/kconfig.h for the use for non-config macros and replaces config_enabled(MODULE) with __is_defined(MODULE). I am keeping config_enabled() because it is still referenced from some places, but I expect it would be deprecated in the future. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'include/linux/export.h')
0 files changed, 0 insertions, 0 deletions