From: David Hildenbrand Date: Thu, 14 Jul 2016 12:46:56 +0000 (+0200) Subject: s390/time: fixup the clock comparator on all cpus X-Git-Tag: v5.15~12765^2~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c00b1e00bba9c9046bee4e487ed19360da9ded0;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/time.c b/arch/s390/kernel/time.c index 5e7237d..5b1a199 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));