From: Tony Wu Date: Thu, 18 Jul 2013 09:47:37 +0000 (+0000) Subject: MIPS: tlbex: Guard tlbmiss_handler_setup_pgd X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=774b6175f8f6547e2e7d4cf8b5fa60a01f39b03e;p=linux-beck.git MIPS: tlbex: Guard tlbmiss_handler_setup_pgd tlbmiss_handler_setup_pgd* are only referenced when CONFIG_MIPS_PGD_C0_CONTEXT is defined. Signed-off-by: Tony Wu Cc: Jayachandran C. Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5601/ Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/mm/tlb-funcs.S b/arch/mips/mm/tlb-funcs.S index 30a494db99c2..79bca3130bd1 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