]> 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)
commitd55dc9f0366f39b4b3d5aa22ab2b3caf70a7b05f
treef132954cac4eef841702d6aab80413d9002cc455
parent78d0a17b61db0e0f1b35c98fdeb5826d1086903a
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