瀏覽代碼

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>
David Hildenbrand 9 年之前
父節點
當前提交
0c00b1e00b
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      arch/s390/kernel/time.c

+ 1 - 0
arch/s390/kernel/time.c

@@ -562,6 +562,7 @@ static int stp_sync_clock(void *data)
 				lpar_offset = qto.tod_epoch_difference;
 				lpar_offset = qto.tod_epoch_difference;
 			atomic_notifier_call_chain(&s390_epoch_delta_notifier,
 			atomic_notifier_call_chain(&s390_epoch_delta_notifier,
 						   0, &clock_delta);
 						   0, &clock_delta);
+			stp_sync->fixup_cc = clock_delta;
 			fixup_clock_comparator(clock_delta);
 			fixup_clock_comparator(clock_delta);
 			rc = chsc_sstpi(stp_page, &stp_info,
 			rc = chsc_sstpi(stp_page, &stp_info,
 					sizeof(struct stp_sstpi));
 					sizeof(struct stp_sstpi));