Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / arch / arm64 / include / asm / vdso_datapage.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) 2012 ARM Limited
4  */
5 #ifndef __ASM_VDSO_DATAPAGE_H
6 #define __ASM_VDSO_DATAPAGE_H
7
8 #ifndef __ASSEMBLY__
9
10 struct vdso_data {
11         __u64 cs_cycle_last;    /* Timebase at clocksource init */
12         __u64 raw_time_sec;     /* Raw time */
13         __u64 raw_time_nsec;
14         __u64 xtime_clock_sec;  /* Kernel time */
15         __u64 xtime_clock_nsec;
16         __u64 xtime_coarse_sec; /* Coarse time */
17         __u64 xtime_coarse_nsec;
18         __u64 wtm_clock_sec;    /* Wall to monotonic time */
19         __u64 wtm_clock_nsec;
20         __u32 tb_seq_count;     /* Timebase sequence counter */
21         /* cs_* members must be adjacent and in this order (ldp accesses) */
22         __u32 cs_mono_mult;     /* NTP-adjusted clocksource multiplier */
23         __u32 cs_shift;         /* Clocksource shift (mono = raw) */
24         __u32 cs_raw_mult;      /* Raw clocksource multiplier */
25         __u32 tz_minuteswest;   /* Whacky timezone stuff */
26         __u32 tz_dsttime;
27         __u32 use_syscall;
28         __u32 hrtimer_res;
29 };
30
31 #endif /* !__ASSEMBLY__ */
32
33 #endif /* __ASM_VDSO_DATAPAGE_H */