diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-06-14 14:58:58 +0900 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2016-06-20 22:42:32 +0200 |
commit | 5ee02af153661ed98b5ccdfb984d78e7a8881b56 (patch) | |
tree | dfc39f4114ac019bacd6270e77b84915ba24ebec /include/asm-generic | |
parent | 5e8754fd80b0a594f720f44d32bf28c7b06ba5a6 (diff) | |
download | op-kernel-dev-5ee02af153661ed98b5ccdfb984d78e7a8881b56.zip op-kernel-dev-5ee02af153661ed98b5ccdfb984d78e7a8881b56.tar.gz |
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/asm-generic')
-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 6a67ab9..faa4d2b 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); \ |