Skip to content

Commit

Permalink
s390/time: fixup the clock comparator on all cpus
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
  • Loading branch information
David Hildenbrand authored and Martin Schwidefsky committed Aug 29, 2016
1 parent ca64f63 commit 0c00b1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/s390/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 0c00b1e

Please sign in to comment.