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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Apr 2021 13:00:10 +0000 (15:00 +0200)
commitb332265430c8d6bf1a99fec489a38d954fd0ef72
tree12d3cfa6632f76d8ad8c4d8e0f410bf842ad7be4
parentf706acc9312b9bad5dd49f0733d9dc7ca3de8c01
s390/vdso: copy tod_steering_delta value to vdso_data page

commit 72bbc226ed2ef0a46c165a482861fff00dd6d4e1 upstream.

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: 4bff8cb54502 ("s390: convert to GENERIC_VDSO")
Cc: <stable@vger.kernel.org> # 5.10
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/kernel/time.c