]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: move memstart_addr and kernstart_addr to init-common.c
authorJason Yan <yanaijie@huawei.com>
Fri, 20 Sep 2019 09:45:36 +0000 (17:45 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 Nov 2019 08:27:28 +0000 (19:27 +1100)
commit3c683ce84f7f83bb6cdf249af5112d51484d30b6
treef132954cac4eef841702d6aab80413d9002cc455
parent258c6dab9824fd771159ecf9b871b1ec7170a9c2
powerpc: move memstart_addr and kernstart_addr to init-common.c

These two variables are both defined in init_32.c and init_64.c. Move
them to init-common.c and make them __ro_after_init.

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Diana Craciun <diana.craciun@nxp.com>
Tested-by: Diana Craciun <diana.craciun@nxp.com>
Signed-off-by: Scott Wood <oss@buserror.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/init-common.c
arch/powerpc/mm/init_32.c
arch/powerpc/mm/init_64.c