MIPS: memset.S: Disable code unused with non-R6 MIPS configs
This complements commit 8c56208aff ("MIPS: lib: memset: Add MIPS R6
support").
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12452/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
41fa29e4d8
commit
8e85f275e9
@@ -228,10 +228,12 @@
|
|||||||
.hidden __memset
|
.hidden __memset
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_CPU_MIPSR6
|
||||||
.Lbyte_fixup\@:
|
.Lbyte_fixup\@:
|
||||||
PTR_SUBU a2, $0, t0
|
PTR_SUBU a2, $0, t0
|
||||||
jr ra
|
jr ra
|
||||||
PTR_ADDIU a2, 1
|
PTR_ADDIU a2, 1
|
||||||
|
#endif /* CONFIG_CPU_MIPSR6 */
|
||||||
|
|
||||||
.Lfirst_fixup\@:
|
.Lfirst_fixup\@:
|
||||||
jr ra
|
jr ra
|
||||||
|
|||||||
Reference in New Issue
Block a user