Skip to content

Commit

Permalink
powerpc/book3e: drop mmu_get_tsize()
Browse files Browse the repository at this point in the history
This function is not used anymore, drop it.

Fixes: b42279f ("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>
  • Loading branch information
Christophe Leroy authored and Michael Ellerman committed May 2, 2019
1 parent 5953fb4 commit a521c44
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions arch/powerpc/mm/nohash/book3e_hugetlbpage.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit a521c44

Please sign in to comment.