> 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
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
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
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 `__cpuidle_method_of_tab
4 matches
Mail list logo