Skip to content

Commit 426fa8e

Browse files
FlyGoattsbogend
authored andcommitted
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 <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 7190401 commit 426fa8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/mips/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,6 +1084,7 @@ config CSRC_IOASIC
10841084

10851085
config CSRC_R4K
10861086
select CLOCKSOURCE_WATCHDOG if CPU_FREQ
1087+
select HAVE_UNSTABLE_SCHED_CLOCK if SMP && 64BIT
10871088
bool
10881089

10891090
config CSRC_SB1250

0 commit comments

Comments
 (0)