]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64: Remove unused prom_init_toc symbols
authorMichael Ellerman <mpe@ellerman.id.au>
Sat, 17 Sep 2022 06:36:47 +0000 (16:36 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 26 Sep 2022 10:58:16 +0000 (20:58 +1000)
commitfd415f6d007d79990dde631b7ad4d25a761edf22
treead60de240db1a669db240dd9791b88edebeb3e6f
parenta92c7483cf41406a8f24c0bea5a1fb55ba2e928e
powerpc/64: Remove unused prom_init_toc symbols

Commit fe783ad4a1b7 ("powerpc/64s: Make prom_init require RELOCATABLE")
made prom_init depend on CONFIG_RELOCATABLE.

But it missed cleaning up a case in the linker script for RELOCATABLE=n,
and associated symbols. Remove them now.

Fixes: fe783ad4a1b7 ("powerpc/64s: Make prom_init require RELOCATABLE")
Reported-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220920131157.1032707-1-mpe@ellerman.id.au
arch/powerpc/include/asm/sections.h
arch/powerpc/kernel/prom_init_check.sh
arch/powerpc/kernel/vmlinux.lds.S