Skip to content
Commit 5a438af9 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 1be5fa6c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment