Skip to contentSkip to conversation

MIPS: Remove get_current_pgd().

PATCH New David Daney 1 participant 1 message Mar 28, 2012 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: Remove get_current_pgd().

From: David Daney <[email protected]>

It is unused in the tree.

---
 arch/mips/include/asm/mmu_context.h |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
arch/mips/include/asm/mmu_context.h +0 -6
index 145bb81..50e0ac9 100644
@@ -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