summaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2024-06-12 10:54:30 +0200
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2024-07-03 16:48:06 +0200
commit426fa8e4fe7bb914b5977cbce453a9926bf5b2e6 (patch)
tree12528203732b785602f385f04e12ecb909c5b230 /arch/mips/Kconfig
parentMIPS: csrc-r4k: Apply verification clocksource flags (diff)
downloadlinux-426fa8e4fe7bb914b5977cbce453a9926bf5b2e6.tar.xz
linux-426fa8e4fe7bb914b5977cbce453a9926bf5b2e6.zip
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 <jiaxun.yang@flygoat.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 1236ea122061..c14192514e9d 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