On Wed, Jul 17, 2013 at 06:01:29PM +0800, Tony Wu wrote: > tlbmiss_handler_setup_pgd* are only referenced when > CONFIG_MIPS_PGD_C0_CONTEXT is defined. > > Signed-off-by: Tony Wu <tung7970@xxxxxxxxx> > Cc: Jayachandran C <jchandra@xxxxxxxxxxxx> > --- > arch/mips/mm/tlb-funcs.S | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/mips/mm/tlb-funcs.S b/arch/mips/mm/tlb-funcs.S > index 30a494d..79bca31 100644 > --- a/arch/mips/mm/tlb-funcs.S > +++ b/arch/mips/mm/tlb-funcs.S > @@ -16,10 +16,12 @@ > > #define FASTPATH_SIZE 128 > > +#ifdef CONFIG_MIPS_PGD_C0_CONTEXT > LEAF(tlbmiss_handler_setup_pgd) > .space 16 * 4 > END(tlbmiss_handler_setup_pgd) > EXPORT(tlbmiss_handler_setup_pgd_end) > +#endif > > LEAF(handle_tlbm) > .space FASTPATH_SIZE * 4 There is a patchset planned which uses tlbmiss_handler_setup_pgd when CONFIG_MIPS_PGD_C0_CONTEXT is not defined, but it did not make it into 3.11. This change can be applied - but if it goes in, I will need to undo this as part of the scratch patchset. JC.