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

From: Will Deacon
Date: Mon Mar 19 2018 - 07:23:01 EST


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@xxxxxxxxxx>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---
> 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