[PATCH] ARM: avoid cpuidle link warning
Kees Cook
keescook at chromium.org
Fri Jun 4 11:02:37 PDT 2021
On Wed, 30 Dec 2020 16:54:56 +0100, Arnd Bergmann wrote:
> Since commit 83109d5d5fba ("x86/build: Warn on orphan section placement"),
> we get a warning for objects in orphan sections. The cpuidle implementation
> for OMAP causes this when CONFIG_CPU_IDLE is disabled:
>
> arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_table' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__cpuidle_method_of_table'
> arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_table' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__cpuidle_method_of_table'
> arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_table' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__cpuidle_method_of_table'
>
> [...]
Applied to for-next/orphans, thanks!
[1/1] ARM: cpuidle: Avoid orphan section warning
https://git.kernel.org/kees/c/d94b93a91015
--
Kees Cook
More information about the linux-arm-kernel
mailing list