diff options
Diffstat (limited to 'arch/x86/tools/relocs.c')
-rw-r--r-- | arch/x86/tools/relocs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/tools/relocs.c b/arch/x86/tools/relocs.c index 71a2533c90d3..11f9285a2ff6 100644 --- a/arch/x86/tools/relocs.c +++ b/arch/x86/tools/relocs.c | |||
@@ -729,6 +729,7 @@ static void percpu_init(void) | |||
729 | * | 729 | * |
730 | * The GNU linker incorrectly associates: | 730 | * The GNU linker incorrectly associates: |
731 | * __init_begin | 731 | * __init_begin |
732 | * __per_cpu_load | ||
732 | * | 733 | * |
733 | * The "gold" linker incorrectly associates: | 734 | * The "gold" linker incorrectly associates: |
734 | * init_per_cpu__irq_stack_union | 735 | * init_per_cpu__irq_stack_union |
@@ -738,6 +739,7 @@ static int is_percpu_sym(ElfW(Sym) *sym, const char *symname) | |||
738 | { | 739 | { |
739 | return (sym->st_shndx == per_cpu_shndx) && | 740 | return (sym->st_shndx == per_cpu_shndx) && |
740 | strcmp(symname, "__init_begin") && | 741 | strcmp(symname, "__init_begin") && |
742 | strcmp(symname, "__per_cpu_load") && | ||
741 | strncmp(symname, "init_per_cpu_", 13); | 743 | strncmp(symname, "init_per_cpu_", 13); |
742 | } | 744 | } |
743 | 745 | ||