MIPS: Remove get_current_pgd().
PATCH 1/1 MIPS: Remove get_current_pgd().
From: David Daney <[email protected]>
It is unused in the tree.
Signed-off-by David Daney <[email protected]>
--- arch/mips/include/asm/mmu_context.h | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
arch/mips/include/asm/mmu_context.h +0 -6
@@ -43,12 +43,6 @@ static inline void tlbmiss_handler_setup_pgd(unsigned long pgd)write_c0_xcontext ((unsigned long )smp_processor_id () <<51 ); \ } while (0) - -static inline unsigned long get_current_pgd(void) -{ -return PHYS_TO_XKSEG_CACHED ((read_c0_context () >>11 ) & ~0xfffUL ); -} -#else /* CONFIG_MIPS_PGD_C0_CONTEXT: using pgd_current*/ /*
Signature · 1 line
1.7.2.3