]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
arm64: fix undefined reference to 'printk'
authorArnd Bergmann <arnd@arndb.de>
Thu, 22 Aug 2019 21:15:54 +0000 (15:15 -0600)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 17 Sep 2019 16:02:18 +0000 (18:02 +0200)
commit6f8141afa6199dbb9cc0cec61f0be9d96b6f3e34
tree65d5fee8be59fcc872445ac55d7fdb6b7231b7a2
parentd7669bef17ae854965e3b455dfce8685cbcc8d34
arm64: fix undefined reference to 'printk'

BugLink: https://bugs.launchpad.net/bugs/1841109
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@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Will Deacon <will.deacon@arm.com>
(cherry picked from commit bd99f9a159b072be743c6681f81e06b9ebd370a4)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Kleber Souza <kleber.souza@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/arm64/kernel/reloc_test_core.c
arch/arm64/kernel/reloc_test_syms.S