]> git.baikalelectronics.ru Git - kernel.git/commit
s390/vdso: copy tod_steering_delta value to vdso_data page
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 23 Mar 2021 20:40:11 +0000 (21:40 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 25 Mar 2021 20:57:25 +0000 (21:57 +0100)
commitfeea048cf251e72b09ec169440d0c4cc46a43e13
treea0f30b25392fb76bb59424f4c4d8837b63b6bab2
parent6df5d3638abbd720089114129009990030b5c942
s390/vdso: copy tod_steering_delta value to vdso_data page

When converting the vdso assembler code to C it was forgotten to
actually copy the tod_steering_delta value to vdso_data page.

Which in turn means that tod clock steering will not work correctly.

Fix this by simply copying the value whenever it is updated.

Fixes: 45ce54937694 ("s390: convert to GENERIC_VDSO")
Cc: <stable@vger.kernel.org> # 5.10
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/time.c