]> 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)
commite44a999cae2126548839156c71e9420b17b896e2
tree739d7486c2bd860a038c8b8ef2d05a75cfd14ede
parentf190fc2c147e3241ed84ac71b017cd43356b5478
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