summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/vdso.h
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2013-11-22 10:04:53 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-11-25 09:15:39 +0100
commit79c74ecbebf76732f91b82a62ce7fc8a88326962 (patch)
treeaabc8542bfa82067edb563a1de166952058e91d5 /arch/s390/include/asm/vdso.h
parent71a86ef055f569b93bc6901f007bdf447dbf515f (diff)
downloadlinux-79c74ecbebf76732f91b82a62ce7fc8a88326962.tar.bz2
s390/time,vdso: convert to the new update_vsyscall interface
Switch to the improved update_vsyscall interface that provides sub-nanosecond precision for gettimeofday and clock_gettime. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/vdso.h')
-rw-r--r--arch/s390/include/asm/vdso.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/s390/include/asm/vdso.h b/arch/s390/include/asm/vdso.h
index a73eb2e1e918..bc9746a7d47c 100644
--- a/arch/s390/include/asm/vdso.h
+++ b/arch/s390/include/asm/vdso.h
@@ -26,8 +26,9 @@ struct vdso_data {
__u64 wtom_clock_nsec; /* 0x28 */
__u32 tz_minuteswest; /* Minutes west of Greenwich 0x30 */
__u32 tz_dsttime; /* Type of dst correction 0x34 */
- __u32 ectg_available;
- __u32 ntp_mult; /* NTP adjusted multiplier 0x3C */
+ __u32 ectg_available; /* ECTG instruction present 0x38 */
+ __u32 tk_mult; /* Mult. used for xtime_nsec 0x3c */
+ __u32 tk_shift; /* Shift used for xtime_nsec 0x40 */
};
struct vdso_per_cpu_data {