]> 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)
commit23f25b30aacb1f23b4cf27c23672dd718db5cb09
tree480fd5e30c16f5206d5d84caba31ae43d35de1af
parent6e3269cc7266fa7f035044d26c7e073bd00ea050
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