summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel
diff options
context:
space:
mode:
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>2016-07-14 14:46:56 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-08-29 11:04:56 +0200
commit0c00b1e00bba9c9046bee4e487ed19360da9ded0 (patch)
treea1bd5a06ecab721769c89152c6769f982eb10d70 /arch/s390/kernel
parentca64f63901a054af755994648bf6835047c71cbb (diff)
downloadlinux-stable-0c00b1e00bba9c9046bee4e487ed19360da9ded0.tar.gz
linux-stable-0c00b1e00bba9c9046bee4e487ed19360da9ded0.tar.bz2
linux-stable-0c00b1e00bba9c9046bee4e487ed19360da9ded0.zip
s390/time: fixup the clock comparator on all cpus
By leaving fixup_cc unset, only the clock comparator of the cpu actually doing the sync is fixed up until now. Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel')
-rw-r--r--arch/s390/kernel/time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c
index 5e7237dc39fc..5b1a199667e2 100644
--- a/arch/s390/kernel/time.c
+++ b/arch/s390/kernel/time.c
@@ -562,6 +562,7 @@ static int stp_sync_clock(void *data)
lpar_offset = qto.tod_epoch_difference;
atomic_notifier_call_chain(&s390_epoch_delta_notifier,
0, &clock_delta);
+ stp_sync->fixup_cc = clock_delta;
fixup_clock_comparator(clock_delta);
rc = chsc_sstpi(stp_page, &stp_info,
sizeof(struct stp_sstpi));