Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: Remove get_current_pgd().

It is unused in the tree.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3557/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

David Daney and committed by
Ralf Baechle
dc5efaa0 de14ca6a

-6
-6
arch/mips/include/asm/mmu_context.h
··· 37 37 write_c0_xcontext((unsigned long) smp_processor_id() << 51); \ 38 38 } while (0) 39 39 40 - 41 - static inline unsigned long get_current_pgd(void) 42 - { 43 - return PHYS_TO_XKSEG_CACHED((read_c0_context() >> 11) & ~0xfffUL); 44 - } 45 - 46 40 #else /* CONFIG_MIPS_PGD_C0_CONTEXT: using pgd_current*/ 47 41 48 42 /*