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

Commit 8e85f275 authored by Maciej W. Rozycki's avatar Maciej W. Rozycki Committed by Ralf Baechle
Browse files

MIPS: memset.S: Disable code unused with non-R6 MIPS configs



This complements commit 8c56208a ("MIPS: lib: memset: Add MIPS R6
support").

Signed-off-by: default avatarMaciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12452/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 41fa29e4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -228,10 +228,12 @@
	.hidden __memset
	.endif

#ifdef CONFIG_CPU_MIPSR6
.Lbyte_fixup\@:
	PTR_SUBU	a2, $0, t0
	jr		ra
	 PTR_ADDIU	a2, 1
#endif /* CONFIG_CPU_MIPSR6 */

.Lfirst_fixup\@:
	jr	ra