]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc: introduce kernstart_virt_addr to store the kernel base
authorJason Yan <yanaijie@huawei.com>
Fri, 20 Sep 2019 09:45:37 +0000 (17:45 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 Nov 2019 08:27:32 +0000 (19:27 +1100)
commit39f4b7bf7571a9c6529b0bb3de49c9bb0998f194
treed83d422a39731bc86b3e44c5fb5031bd4ee5cde7
parent4ed47dbefa299d7b36944f6d4001ee83612dd680
powerpc: introduce kernstart_virt_addr to store the kernel base

Now the kernel base is a fixed value - KERNELBASE. To support KASLR, we
need a variable to store the kernel base.

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/include/asm/page.h
arch/powerpc/mm/init-common.c