]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Mark sched_clock unstable only if clocks are not syncronized
authorHelge Deller <deller@gmx.de>
Wed, 8 Sep 2021 21:27:00 +0000 (23:27 +0200)
committerHelge Deller <deller@gmx.de>
Thu, 9 Sep 2021 10:44:31 +0000 (12:44 +0200)
commit6b09de65ac72852c14c7213851d7c5148101827b
tree480fd5e30c16f5206d5d84caba31ae43d35de1af
parent42b79675a2f92328d2f4498552f4ce8a4974545a
parisc: Mark sched_clock unstable only if clocks are not syncronized

We check at runtime if the cr16 clocks are stable across CPUs. Only mark
the sched_clock unstable by calling clear_sched_clock_stable() if we
know that we run on a system which isn't syncronized across CPUs.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/setup.c
arch/parisc/kernel/time.c