Skip to content

Commit 320f980

Browse files
arndbgregkh
authored andcommitted
kallsyms: add kallsyms_seqs_of_names to list of special symbols
commit ced0f24 upstream. 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: 60443c8 ("kallsyms: Improve the performance of kallsyms_lookup_name()") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Zhen Lei <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 7531eb0 commit 320f980

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/kallsyms.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ static bool is_ignored_symbol(const char *name, char type)
118118
"kallsyms_markers",
119119
"kallsyms_token_table",
120120
"kallsyms_token_index",
121+
"kallsyms_seqs_of_names",
121122
/* Exclude linker generated symbols which vary between passes */
122123
"_SDA_BASE_", /* ppc */
123124
"_SDA2_BASE_", /* ppc */

0 commit comments

Comments
 (0)