]> 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)
commitc898dba581b629f2e45c25101fb5dd8cdba13c77
treea0f30b25392fb76bb59424f4c4d8837b63b6bab2
parenta123a92a85a64b2b0aa97706608092508241de7b
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: f26ccfb7b18d ("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