Use CONFIG_GENERIC_TIME and define TOD clock source.
From: Martin Schwidefsky <[email protected]>
[S390] Use CONFIG_GENERIC_TIME and define TOD clock source.
Fix too slow clock by using CONFIG_GENERIC_TIME and adding a clock source for the s390 time-of-day clock. As added benefit we get rid of the s390 specific definition of do_gettimeofday and do_settimeofday.
Signed-off-by Martin Schwidefsky <[email protected]>
---
arch/s390/Kconfig | 3 + arch/s390/defconfig | 1 arch/s390/kernel/time.c | 88 ++++++++++-------------------------------------- 3 files changed, 24 insertions(+), 68 deletions(-)
arch/s390/defconfig +1 -0
@@ -9,6 +9,7 @@ CONFIG_STACKTRACE_SUPPORT=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y +CONFIG_GENERIC_TIME=y CONFIG_S390=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
arch/s390/Kconfig +3 -0
@@ -30,6 +30,9 @@ config GENERIC_CALIBRATE_DELAY bool default y +config GENERIC_TIME + def_bool y + config GENERIC_BUST_SPINLOCK bool
arch/s390/kernel/time.c +20 -68
112 lines not on this page · raw message