]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: Add common vdso clock mode storage
authorThomas Gleixner <tglx@linutronix.de>
Fri, 7 Feb 2020 12:38:55 +0000 (13:38 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 17 Feb 2020 13:40:23 +0000 (14:40 +0100)
commit8e577e979d58285a0dfd736fad314ac96c87b3e5
tree739d7486c2bd860a038c8b8ef2d05a75cfd14ede
parent5e0e4a8b55a90a69483cedca7293e4c65ea2edfb
clocksource: Add common vdso clock mode storage

All architectures which use the generic VDSO code have their own storage
for the VDSO clock mode. That's pointless and just requires duplicate code.

Provide generic storage for it. The new Kconfig symbol is intermediate and
will be removed once all architectures are converted over.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Link: https://lkml.kernel.org/r/20200207124403.028046322@linutronix.de
include/linux/clocksource.h
kernel/time/clocksource.c
kernel/time/vsyscall.c
lib/vdso/Kconfig
lib/vdso/gettimeofday.c