]> git.baikalelectronics.ru Git - 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)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 15 Jun 2019 14:00:30 +0000 (00:00 +1000)
commit5a7f7017be3d365f29c37faee059e3ac201850f1
tree000b9e96f4a98d57bc40e0bb1208bdc861e1deee
parent84865c1a1a814e72fba57abec3a5e2255e966e06
powerpc/64: mark start_here_multiplatform as __ref

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: eadd4080e54f ("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>
arch/powerpc/kernel/head_64.S