diff options
author | Tony Wu <tung7970@gmail.com> | 2013-07-18 05:47:37 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-08-26 09:31:52 -0400 |
commit | 774b6175f8f6547e2e7d4cf8b5fa60a01f39b03e (patch) | |
tree | 28babbd14d6021279ced2303f949607193e0528f /arch/mips/mm | |
parent | d8dfad3876e4386666b759da3c833d62fb8b2267 (diff) |
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 <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: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm')
-rw-r--r-- | arch/mips/mm/tlb-funcs.S | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ | |||
16 | 16 | ||
17 | #define FASTPATH_SIZE 128 | 17 | #define FASTPATH_SIZE 128 |
18 | 18 | ||
19 | #ifdef CONFIG_MIPS_PGD_C0_CONTEXT | ||
19 | LEAF(tlbmiss_handler_setup_pgd) | 20 | LEAF(tlbmiss_handler_setup_pgd) |
20 | .space 16 * 4 | 21 | .space 16 * 4 |
21 | END(tlbmiss_handler_setup_pgd) | 22 | END(tlbmiss_handler_setup_pgd) |
22 | EXPORT(tlbmiss_handler_setup_pgd_end) | 23 | EXPORT(tlbmiss_handler_setup_pgd_end) |
24 | #endif | ||
23 | 25 | ||
24 | LEAF(handle_tlbm) | 26 | LEAF(handle_tlbm) |
25 | .space FASTPATH_SIZE * 4 | 27 | .space FASTPATH_SIZE * 4 |