]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc/64e: remove mmu_linear_psize
authorNicholas Piggin <npiggin@gmail.com>
Wed, 1 Dec 2021 14:41:48 +0000 (00:41 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 9 Dec 2021 11:39:39 +0000 (22:39 +1100)
commit8dbfc0092b5c8c50f011509893bf0396253cd2ab
tree2b868ddb9e18a140dca40a6c2163925f5f99e223
parent20626177c9de726c48802c15e8635cc154645588
powerpc/64e: remove mmu_linear_psize

mmu_linear_psize is only set at boot once on 64e, is not necessarily
the correct size of the linear map pages, and is never used anywhere.
Remove it.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Retain the extern, so we can use IS_ENABLED() for related code]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211201144153.2456614-14-npiggin@gmail.com
arch/powerpc/mm/nohash/tlb.c