Skip to content

Commit 2326c8f

Browse files
FlyGoattsbogend
authored andcommitted
MIPS: Fix fallback march for SB1
Fallback march for SB1 should be mips64 instead of mips64r1. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Fixes: bfc0a33 ("MIPS: Fallback CPU -march flag to ISA level if unsupported") Signed-off-by: Jiaxun Yang <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 74beefb commit 2326c8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ cflags-$(CONFIG_CPU_NEVADA) += $(call cc-option,-march=rm5200,-march=mips4) \
170170
-Wa,--trap
171171
cflags-$(CONFIG_CPU_RM7000) += $(call cc-option,-march=rm7000,-march=mips4) \
172172
-Wa,--trap
173-
cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-march=sb1,-march=mips64r1) \
173+
cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-march=sb1,-march=mips64) \
174174
-Wa,--trap
175175
cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-mno-mdmx)
176176
cflags-$(CONFIG_CPU_SB1) += $(call cc-option,-mno-mips3d)

0 commit comments

Comments
 (0)