]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitd97180ad68bdb7ee10f327205a649bc2f558741d
tree480fd5e30c16f5206d5d84caba31ae43d35de1af
parent907872baa9f1538eed02ec737b8e89eba6c6e4b9
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