Commit 774b6175 authored by Tony Wu's avatar Tony Wu Committed by Ralf Baechle

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: default avatarTony Wu <tung7970@gmail.com>
Cc: Jayachandran C. <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5601/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent d8dfad38
...@@ -16,10 +16,12 @@ ...@@ -16,10 +16,12 @@
#define FASTPATH_SIZE 128 #define FASTPATH_SIZE 128
#ifdef CONFIG_MIPS_PGD_C0_CONTEXT
LEAF(tlbmiss_handler_setup_pgd) LEAF(tlbmiss_handler_setup_pgd)
.space 16 * 4 .space 16 * 4
END(tlbmiss_handler_setup_pgd) END(tlbmiss_handler_setup_pgd)
EXPORT(tlbmiss_handler_setup_pgd_end) EXPORT(tlbmiss_handler_setup_pgd_end)
#endif
LEAF(handle_tlbm) LEAF(handle_tlbm)
.space FASTPATH_SIZE * 4 .space FASTPATH_SIZE * 4
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment