powerpc: Remove klimit
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 4 Jun 2021 09:57:36 +0000 (09:57 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Jun 2021 14:07:10 +0000 (00:07 +1000)
commit56afad885228902d090558a0b1cf75e9809e831d
tree0640da3a8609a6a21a74e3d810d2de36e0d5e02b
parent6ca6512c716afd6e37281372c4c35aa6afd71d10
powerpc: Remove klimit

klimit is a global variable initialised at build time with the
value of _end.

This variable is never modified, so _end symbol can be used directly.

Remove klimit.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/9fa9ba6807c17f93f35a582c199c646c4a8bfd9c.1622800638.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/setup.h
arch/powerpc/kernel/head_book3s_32.S
arch/powerpc/kernel/prom.c
arch/powerpc/kernel/setup-common.c
arch/powerpc/platforms/powermac/bootx_init.c