Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afc813ae authored by Tony Wu's avatar Tony Wu Committed by Ralf Baechle
Browse files

MIPS: tlbex: Fix typo in r3000 tlb store handler



commit 6ba045f9 (MIPS: Move generated code to .text for microMIPS)
causes a panic at boot. The handler builder should test against
handle_tlbs_end, not handle_tlbs.

Signed-off-by: default avatarTony Wu <tung7970@gmail.com>
Acked-by: default avatarJayachandran C. <jchandra@broadcom.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5600/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 976f39b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1803,7 +1803,7 @@ static void __cpuinit build_r3000_tlb_store_handler(void)
	uasm_i_j(&p, (unsigned long)tlb_do_page_fault_1 & 0x0fffffff);
	uasm_i_nop(&p);

	if (p >= handle_tlbs)
	if (p >= handle_tlbs_end)
		panic("TLB store handler fastpath space exceeded");

	uasm_resolve_relocs(relocs, labels);