summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2022-05-01 17:40:19 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2022-05-08 03:17:01 +0900
commitf18379a30271c0289c2d0e1074e1ed633bfd708c (patch)
treea7086d84f58e20e01946f412721be513b2f5fe32 /Makefile
parente76cc48d8e6df5d949284132981db73d2dd8c6b5 (diff)
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 'Makefile')
0 files changed, 0 insertions, 0 deletions