summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/time.c
diff options
context:
space:
mode:
authorPavel Tatashin <pasha.tatashin@oracle.com>2018-07-19 16:55:32 -0400
committerThomas Gleixner <tglx@linutronix.de>2018-07-20 00:02:40 +0200
commit38669ba205d178d2d38bfd194a196d65a44d5af2 (patch)
tree1c064127f741ac9f079bb5623e4654f21f00a8d5 /arch/s390/kernel/time.c
parent7b25b9cb0dad8395b5cf5a02196d0e88ccda67d5 (diff)
downloadop-kernel-dev-38669ba205d178d2d38bfd194a196d65a44d5af2.zip
op-kernel-dev-38669ba205d178d2d38bfd194a196d65a44d5af2.tar.gz
x86/xen/time: Output xen sched_clock time from 0
It is expected for sched_clock() to output data from 0, when system boots. Add an offset xen_sched_clock_offset (similarly how it is done in other hypervisors i.e. kvm_sched_clock_offset) to count sched_clock() from 0, when time is first initialized. Signed-off-by: Pavel Tatashin <pasha.tatashin@oracle.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: steven.sistare@oracle.com Cc: daniel.m.jordan@oracle.com Cc: linux@armlinux.org.uk Cc: schwidefsky@de.ibm.com Cc: heiko.carstens@de.ibm.com Cc: john.stultz@linaro.org Cc: sboyd@codeaurora.org Cc: hpa@zytor.com Cc: douly.fnst@cn.fujitsu.com Cc: peterz@infradead.org Cc: prarit@redhat.com Cc: feng.tang@intel.com Cc: pmladek@suse.com Cc: gnomes@lxorguk.ukuu.org.uk Cc: linux-s390@vger.kernel.org Cc: boris.ostrovsky@oracle.com Cc: jgross@suse.com Cc: pbonzini@redhat.com Link: https://lkml.kernel.org/r/20180719205545.16512-14-pasha.tatashin@oracle.com
Diffstat (limited to 'arch/s390/kernel/time.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud