aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/asm.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org> 2023-03-02 10:34:14 -0800
committerGravatar Linus Torvalds <torvalds@linux-foundation.org> 2023-03-02 10:34:14 -0800
commit04a357b1f6f0b6f7c8689361fa8802e8e35d02ad (patch)
tree00acf8b0227d582929c812a114a5edcc650eac10 /arch/mips/include/asm/asm.h
parentMerge tag 'objtool-core-2023-03-02' of git://git.kernel.org/pub/scm/linux/ker... (diff)
parentMIPS: Workaround clang inline compat branch issue (diff)
downloadlinux-04a357b1f6f0b6f7c8689361fa8802e8e35d02ad.tar.gz
linux-04a357b1f6f0b6f7c8689361fa8802e8e35d02ad.tar.bz2
linux-04a357b1f6f0b6f7c8689361fa8802e8e35d02ad.zip
Merge tag 'mips_6.3_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
Pull more MIPS updates from Thomas Bogendoerfer: "A few more cleanups and fixes" * tag 'mips_6.3_1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: MIPS: Workaround clang inline compat branch issue mips: dts: ralink: mt7621: add phandle to system controller node for watchdog mips: dts: ralink: mt7621: rename watchdog node from 'wdt' into 'watchdog' mips: ralink: make SOC_MT7621 select PINCTRL mips: remove SYS_HAS_CPU_MIPS32_R1 from RALINK MIPS: cevt-r4k: Offset the value used to clear compare interrupt MIPS: smp-cps: Don't rely on CP0_CMGCRBASE MIPS: Remove DMA_PERDEV_COHERENT
Diffstat (limited to 'arch/mips/include/asm/asm.h')
-rw-r--r--arch/mips/include/asm/asm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/asm.h b/arch/mips/include/asm/asm.h
index 336ac9b65235..2e99450f4228 100644
--- a/arch/mips/include/asm/asm.h
+++ b/arch/mips/include/asm/asm.h
@@ -336,7 +336,7 @@ symbol = value
*/
#ifdef CONFIG_WAR_R10000_LLSC
# define SC_BEQZ beqzl
-#elif MIPS_ISA_REV >= 6
+#elif !defined(CONFIG_CC_HAS_BROKEN_INLINE_COMPAT_BRANCH) && MIPS_ISA_REV >= 6
# define SC_BEQZ beqzc
#else
# define SC_BEQZ beqz