aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/cio.h
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2016-05-31 09:09:57 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-06-13 15:58:19 +0200
commit2f82f57763d97700788cf228de1cf30ffd4153b4 (patch)
tree39cacadec4bc9203b539c60f815f4c2f77b92a1b /arch/s390/include/asm/cio.h
parents390/kexec: fix crash on resize of reserved memory (diff)
downloadlinux-dev-2f82f57763d97700788cf228de1cf30ffd4153b4.tar.xz
linux-dev-2f82f57763d97700788cf228de1cf30ffd4153b4.zip
s390/time: STP sync clock correction
The sync clock operation of the channel subsystem call for STP delivers the TOD clock difference as a result. Use this TOD clock difference instead of the difference between the TOD timestamps before and after the sync clock operation. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/cio.h')
-rw-r--r--arch/s390/include/asm/cio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/cio.h b/arch/s390/include/asm/cio.h
index d1e7b0a0feeb..f7ed88cc066e 100644
--- a/arch/s390/include/asm/cio.h
+++ b/arch/s390/include/asm/cio.h
@@ -320,7 +320,7 @@ struct cio_iplinfo {
extern int cio_get_iplinfo(struct cio_iplinfo *iplinfo);
/* Function from drivers/s390/cio/chsc.c */
-int chsc_sstpc(void *page, unsigned int op, u16 ctrl);
+int chsc_sstpc(void *page, unsigned int op, u16 ctrl, u64 *clock_delta);
int chsc_sstpi(void *page, void *result, size_t size);
#endif