From: David Daney Date: Wed, 28 Mar 2012 22:59:58 +0000 (-0700) Subject: MIPS: Remove get_current_pgd(). X-Git-Tag: v3.4-rc6~29^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc5efaa049cbb10efaf47fe977d45ea1e38b4465;p=profile%2Fivi%2Fkernel-x86-ivi.git MIPS: Remove get_current_pgd(). It is unused in the tree. Signed-off-by: David Daney Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3557/ Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/include/asm/mmu_context.h b/arch/mips/include/asm/mmu_context.h index 73c0d45..9b02cfb 100644 --- a/arch/mips/include/asm/mmu_context.h +++ b/arch/mips/include/asm/mmu_context.h @@ -37,12 +37,6 @@ extern 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*/ /*