]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c4821dd622602ce61ee4fdb7ffbc93dfec39e56
tree0640da3a8609a6a21a74e3d810d2de36e0d5e02b
parent2a3a571e5319318d107055b967ae3cdab3e2a6d5
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