From: Jiaxun Yang Date: Wed, 12 Jun 2024 08:54:30 +0000 (+0100) Subject: MIPS: csrc-r4k: Select HAVE_UNSTABLE_SCHED_CLOCK if SMP && 64BIT X-Git-Tag: v6.11-rc1~95^2~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=426fa8e4fe7bb914b5977cbce453a9926bf5b2e6;p=thirdparty%2Fkernel%2Flinux.git MIPS: csrc-r4k: Select HAVE_UNSTABLE_SCHED_CLOCK if SMP && 64BIT csrc-r4k suffers from SMP synchronization overhead. Select HAVE_UNSTABLE_SCHED_CLOCK to workaround drift between the CPUs on the system. HAVE_UNSTABLE_SCHED_CLOCK requires cmpxchg64, so enable it for 64 bits only. Signed-off-by: Jiaxun Yang Signed-off-by: Thomas Bogendoerfer --- diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 1236ea1220612..c14192514e9db 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -1084,6 +1084,7 @@ config CSRC_IOASIC config CSRC_R4K select CLOCKSOURCE_WATCHDOG if CPU_FREQ + select HAVE_UNSTABLE_SCHED_CLOCK if SMP && 64BIT bool config CSRC_SB1250