summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/nmi.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2016-05-31 12:47:03 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-06-13 15:58:20 +0200
commit936cc855ffe808b428cf75116fe031af9f12237e (patch)
tree48be65e1168b3ce87dba556cfca3f95f647c95c8 /arch/s390/kernel/nmi.c
parents390/time: LPAR offset handling (diff)
downloadlinux-936cc855ffe808b428cf75116fe031af9f12237e.tar.xz
linux-936cc855ffe808b428cf75116fe031af9f12237e.zip
s390/time: add leap seconds to initial system time
The PTFF instruction can be used to retrieve information about UTC including the current number of leap seconds. Use this value to convert the coordinated server time value of the TOD clock to a proper UTC timestamp to initialize the system time. Without this correction the system time will be off by the number of leap seonds until it has been corrected via NTP. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/nmi.c')
0 files changed, 0 insertions, 0 deletions