diff options
author | 2022-11-02 20:27:39 +0800 | |
---|---|---|
committer | 2022-11-11 15:44:44 +0100 | |
commit | 612d80784fdc0c2e2ee2e2d901a55ef2f72ebf4b (patch) | |
tree | f2d4bc3f93c6e34e16a175a93c208e46ca4bf75f /tools/perf/scripts/python/bin/export-to-postgresql-record | |
parent | mips: boot/compressed: use __NO_FORTIFY (diff) | |
download | linux-dev-612d80784fdc0c2e2ee2e2d901a55ef2f72ebf4b.tar.xz linux-dev-612d80784fdc0c2e2ee2e2d901a55ef2f72ebf4b.zip |
MIPS: fix duplicate definitions for exported symbols
Building with clang-14 fails with:
AS arch/mips/kernel/relocate_kernel.o
<unknown>:0: error: symbol 'kexec_args' is already defined
<unknown>:0: error: symbol 'secondary_kexec_args' is already defined
<unknown>:0: error: symbol 'kexec_start_address' is already defined
<unknown>:0: error: symbol 'kexec_indirection_page' is already defined
<unknown>:0: error: symbol 'relocate_new_kernel_size' is already defined
It turns out EXPORT defined in asm/asm.h expands to a symbol definition,
so there is no need to define these symbols again. Remove duplicated
symbol definitions.
Fixes: 7aa1c8f47e7e ("MIPS: kdump: Add support")
Signed-off-by: Rongwei Zhang <pudh4418@gmail.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions