Re: [PATCH] ARM: avoid cpuidle link warning

2021-01-05 Thread Nick Desaulniers
> Since commit 83109d5d5fba ("x86/build: Warn on orphan section placement"), Might be better to use: commit 5a17850e251a ("arm/build: Warn on orphan section placement") Reviewed-by: Nick Desaulniers

Re: [PATCH] ARM: avoid cpuidle link warning

2020-12-30 Thread Miguel Ojeda
On Wed, Dec 30, 2020 at 4:55 PM Arnd Bergmann wrote: > > Change the definition of CPUIDLE_METHOD_OF_DECLARE() to silently > drop the table and all code referenced from it when CONFIG_CPU_IDLE > is disabled. Re-Cc'ing Nick (Arnd's email had a wrong address). Cheers, Miguel

Re: [PATCH] ARM: avoid cpuidle link warning

2020-12-30 Thread Miguel Ojeda
On Wed, Dec 30, 2020 at 4:55 PM Arnd Bergmann wrote: > > Change the definition of CPUIDLE_METHOD_OF_DECLARE() to silently > drop the table and all code referenced from it when CONFIG_CPU_IDLE > is disabled. Looks good, Reviewed-by: Miguel Ojeda Cheers, Miguel

[PATCH] ARM: avoid cpuidle link warning

2020-12-30 Thread Arnd Bergmann
From: Arnd Bergmann 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