]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Remove stale declarations in mmu_decl.h
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 19 Aug 2022 14:23:43 +0000 (16:23 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 26 Aug 2022 01:02:20 +0000 (11:02 +1000)
commitdfa4b993c32895af21cc8dd3875402c1e27dcbbc
tree487f4322cf7566535fd80a3a1c61d0570ece0518
parent5a9190dfe77ebe55a88a5c1cf96658f9eff0a0b1
powerpc: Remove stale declarations in mmu_decl.h

rtas_size and rtas_data are not used anymore since at least
commit 81da33190403 ("powerpc: Merge lmb.c and make MM initialization
use it.")

Remove them.

Since commit 16e61686f56e ("powerpc/32s: Make Hash var static")
the forward declaration of struct hash_pte is unneeded.

Remove it.

__initial_memory_limit_addr was removed by commit 7c9b1b99cb56 ("memblock:
Introduce default allocation limit and use it to replace explicit ones")

Remove the declaration.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/a821e8397dd56b8177ecc04966d3b3a7c4bda6d4.1660919016.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/setup.h
arch/powerpc/mm/mmu_decl.h