From 7174b99ff754155b18bdd05eb13ac05f09992e4f Mon Sep 17 00:00:00 2001 From: David Daney Date: Wed, 28 Mar 2012 15:59:58 -0700 Subject: [PATCH] --- yaml --- r: 299884 b: refs/heads/master c: dc5efaa049cbb10efaf47fe977d45ea1e38b4465 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/mips/include/asm/mmu_context.h | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/[refs] b/[refs] index 967401cade2e..53cf38f48eb5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: de14ca6ae2c592d66db88f1e5596b26f7f011384 +refs/heads/master: dc5efaa049cbb10efaf47fe977d45ea1e38b4465 diff --git a/trunk/arch/mips/include/asm/mmu_context.h b/trunk/arch/mips/include/asm/mmu_context.h index 73c0d45798de..9b02cfba7449 100644 --- a/trunk/arch/mips/include/asm/mmu_context.h +++ b/trunk/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*/ /*