summaryrefslogtreecommitdiff
path: root/arch/mips/mm/tlb-funcs.S
diff options
context:
space:
mode:
authorSteven J. Hill <Steven.Hill@imgtec.com>2014-04-10 14:06:17 -0500
committerRalf Baechle <ralf@linux-mips.org>2014-05-14 18:11:06 +0200
commit7bb394094080a26de06efcd6a870cb2ba21cfb16 (patch)
treec04d9d8659d1827b7b3e212a3796f48dc51a6cfd /arch/mips/mm/tlb-funcs.S
parentf2d0801f00b7aff0ac6b3666cbcdab499267418a (diff)
MIPS: mm: Fix broken microMIPS kernel regression.
Commit f4ae17aa0f2122b52f642985b46210a1f2eceb0a [MIPS: mm: Use scratch for PGD when !CONFIG_MIPS_PGD_C0_CONTEXT] broke microMIPS kernel builds. This patch refactors that code similar to what was done for the 'clear_page' and 'copy_page' functions. Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6744/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/tlb-funcs.S')
-rw-r--r--arch/mips/mm/tlb-funcs.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/mips/mm/tlb-funcs.S b/arch/mips/mm/tlb-funcs.S
index 30a494db99c2..a5427c6e9757 100644
--- a/arch/mips/mm/tlb-funcs.S
+++ b/arch/mips/mm/tlb-funcs.S
@@ -16,8 +16,10 @@
#define FASTPATH_SIZE 128
+EXPORT(tlbmiss_handler_setup_pgd_start)
LEAF(tlbmiss_handler_setup_pgd)
- .space 16 * 4
+1: j 1b /* Dummy, will be replaced. */
+ .space 64
END(tlbmiss_handler_setup_pgd)
EXPORT(tlbmiss_handler_setup_pgd_end)