aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/powerpc/mm/nohash/book3e_hugetlbpage.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2019-04-26 05:59:38 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2019-05-03 01:20:23 +1000
commita521c44c3ded9fe184c5de3eed3a442af2d26f00 (patch)
tree055f19de6657d3bb5ff287bf5ed673e2e7b82027 /arch/powerpc/mm/nohash/book3e_hugetlbpage.c
parentpowerpc/mm: define subarch SLB_ADDR_LIMIT_DEFAULT (diff)
downloadwireguard-linux-a521c44c3ded9fe184c5de3eed3a442af2d26f00.tar.xz
wireguard-linux-a521c44c3ded9fe184c5de3eed3a442af2d26f00.zip
powerpc/book3e: drop mmu_get_tsize()
This function is not used anymore, drop it. Fixes: b42279f0165c ("powerpc/mm/nohash: MM_SLICE is only used by book3s 64") Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '')
-rw-r--r--arch/powerpc/mm/nohash/book3e_hugetlbpage.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/powerpc/mm/nohash/book3e_hugetlbpage.c b/arch/powerpc/mm/nohash/book3e_hugetlbpage.c
index f84ec46cdb26..c911fe9bfa0e 100644
--- a/arch/powerpc/mm/nohash/book3e_hugetlbpage.c
+++ b/arch/powerpc/mm/nohash/book3e_hugetlbpage.c
@@ -49,11 +49,6 @@ static inline int tlb1_next(void)
#endif /* !PPC64 */
#endif /* FSL */
-static inline int mmu_get_tsize(int psize)
-{
- return mmu_psize_defs[psize].enc;
-}
-
#if defined(CONFIG_PPC_FSL_BOOK3E) && defined(CONFIG_PPC64)
#include <asm/paca.h>