]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
powerpc/64: mark start_here_multiplatform as __ref
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 10 May 2019 06:31:28 +0000 (06:31 +0000)
committerKhalid Elmously <khalid.elmously@canonical.com>
Thu, 26 Sep 2019 04:34:52 +0000 (00:34 -0400)
commit66ede538d75522890ce0c02711259b7706d485ae
treee0b6b9c25bd8f9e4e5cb1f0dabf3f1c59b8f1cc7
parent94836a8af3848b8f069042da30263d710daa13a1
powerpc/64: mark start_here_multiplatform as __ref

BugLink: https://bugs.launchpad.net/bugs/1844558
[ Upstream commit 9c4e4c90ec24652921e31e9551fcaedc26eec86d ]

Otherwise, the following warning is encountered:

WARNING: vmlinux.o(.text+0x3dc6): Section mismatch in reference from the variable start_here_multiplatform to the function .init.text:.early_setup()
The function start_here_multiplatform() references
the function __init .early_setup().
This is often because start_here_multiplatform lacks a __init
annotation or the annotation of .early_setup is wrong.

Fixes: 56c46bba9bbf ("powerpc/64: Fix booting large kernels with STRICT_KERNEL_RWX")
Cc: Russell Currey <ruscur@russell.cc>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/powerpc/kernel/head_64.S