diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-06-14 08:58:58 +0300 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2016-06-20 23:42:32 +0300 |
commit | 5ee02af153661ed98b5ccdfb984d78e7a8881b56 (patch) | |
tree | dfc39f4114ac019bacd6270e77b84915ba24ebec /include | |
parent | 5e8754fd80b0a594f720f44d32bf28c7b06ba5a6 (diff) | |
download | linux-5ee02af153661ed98b5ccdfb984d78e7a8881b56.tar.xz |
vmlinux.lds.h: replace config_enabled() with IS_ENABLED()
The use of config_enabled() against config options is ambiguous.
Now, IS_ENABLED() is implemented purely with macro expansion, so
let's replace config_enabled() with IS_ENABLED().
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index 6a67ab94b553..faa4d2bf92f5 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h @@ -164,7 +164,7 @@ #define ___OF_TABLE(cfg, name) _OF_TABLE_##cfg(name) #define __OF_TABLE(cfg, name) ___OF_TABLE(cfg, name) -#define OF_TABLE(cfg, name) __OF_TABLE(config_enabled(cfg), name) +#define OF_TABLE(cfg, name) __OF_TABLE(IS_ENABLED(cfg), name) #define _OF_TABLE_0(name) #define _OF_TABLE_1(name) \ . = ALIGN(8); \ |