OSDN Git Service

kallsyms: reduce size a little on 64-bit
authorJan Beulich <JBeulich@suse.com>
Mon, 3 Sep 2018 12:09:34 +0000 (06:09 -0600)
committer0ranko0P <ranko0p@outlook.com>
Wed, 4 Dec 2019 17:16:47 +0000 (01:16 +0800)
commit8e1d66f8499bd40098599b3f3a42db1d0506e032
tree7bd7a31bc0924c77242ff5766fc2787f91fbf2bf
parent7143d1aaf31838826528effbf634dfdbe214a8a9
kallsyms: reduce size a little on 64-bit

Both kallsyms_num_syms and kallsyms_markers[] don't really need to use
unsigned long as their (base) types; unsigned int fully suffices.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
kernel/kallsyms.c
scripts/kallsyms.c