commit | 5a438af9db2c4a0b80d51d8c1c9c623b0c0de967 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <masahiroy@kernel.org> | Mon Jun 01 14:57:26 2020 +0900 |
committer | Masahiro Yamada <masahiroy@kernel.org> | Sat Jun 06 23:39:19 2020 +0900 |
tree | 8cc9dfb99a677d362227ad17d484579d42f09267 | |
parent | 1be5fa6c948533bb95ac783010ef686261be5384 [diff] |
modpost: add mod->is_vmlinux struct member is_vmlinux() is called in several places to check whether the current module is vmlinux or not. It is faster and clearer to check mod->is_vmlinux flag. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>