[PATCH v2] arm64: fix undefined reference to 'printk'

Will Deacon will.deacon at arm.com
Mon Mar 19 04:23:02 PDT 2018


On Tue, Mar 13, 2018 at 01:52:36PM +0100, Arnd Bergmann wrote:
> The printk symbol was intended as a generic address that is always
> exported, however that turned out to be false with CONFIG_PRINTK=n:
> 
> ERROR: "printk" [arch/arm64/kernel/arm64-reloc-test.ko] undefined!
> 
> This changes the references to memstart_addr, which should be there
> regardless of configuration.
> 
> Fixes: a257e02579e4 ("arm64/kernel: don't ban ADRP to work around Cortex-A53 erratum #843419")
> Acked-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> ---
> v2: fix changelog as pointed out by Ard
> 
>  arch/arm64/kernel/reloc_test_core.c | 2 +-
>  arch/arm64/kernel/reloc_test_syms.S | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)

Cheers, I've picked this up now. Sorry for the delay.

Will



More information about the linux-arm-kernel mailing list