diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-05-01 10:40:19 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-05-07 20:17:01 +0200 |
commit | f18379a30271c0289c2d0e1074e1ed633bfd708c (patch) | |
tree | a7086d84f58e20e01946f412721be513b2f5fe32 /scripts/install.sh | |
parent | modpost: make sym_add_exported() always allocate a new symbol (diff) | |
download | linux-f18379a30271c0289c2d0e1074e1ed633bfd708c.tar.xz linux-f18379a30271c0289c2d0e1074e1ed633bfd708c.zip |
modpost: split new_symbol() to symbol allocation and hash table addition
new_symbol() does two things; allocate a new symbol and register it
to the hash table.
Using a separate function for each is easier to understand.
Replace new_symbol() with hash_add_symbol(). Remove the second parameter
of alloc_symbol().
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Diffstat (limited to 'scripts/install.sh')
0 files changed, 0 insertions, 0 deletions