Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kallsyms: add kallsyms_seqs_of_names to list of special symbols

My randconfig build setup ran into another kallsyms warning:

Inconsistent kallsyms data
Try make KALLSYMS_EXTRA_PASS=1 as a workaround

After adding some debugging code to kallsyms.c, I saw that the recently
added kallsyms_seqs_of_names symbol can sometimes cause the second stage
table to be slightly longer than the first stage, which makes the
build inconsistent.

Add it to the exception table that contains all other kallsyms-generated
symbols.

Fixes: 60443c88f3a8 ("kallsyms: Improve the performance of kallsyms_lookup_name()")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Zhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

authored by

Arnd Bergmann and committed by
Masahiro Yamada
ced0f245 fe15c26e

+1
+1
scripts/kallsyms.c
··· 119 119 "kallsyms_markers", 120 120 "kallsyms_token_table", 121 121 "kallsyms_token_index", 122 + "kallsyms_seqs_of_names", 122 123 /* Exclude linker generated symbols which vary between passes */ 123 124 "_SDA_BASE_", /* ppc */ 124 125 "_SDA2_BASE_", /* ppc */