treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234
[linux-2.6-block.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 #ifdef __KERNEL__
9
10 #ifndef __ASSEMBLY__
11
12 struct vdso_data {
13         __u64 cs_cycle_last;    /* Timebase at clocksource init */
14         __u64 raw_time_sec;     /* Raw time */
15         __u64 raw_time_nsec;
16         __u64 xtime_clock_sec;  /* Kernel time */
17         __u64 xtime_clock_nsec;
18         __u64 xtime_coarse_sec; /* Coarse time */
19         __u64 xtime_coarse_nsec;
20         __u64 wtm_clock_sec;    /* Wall to monotonic time */
21         __u64 wtm_clock_nsec;
22         __u32 tb_seq_count;     /* Timebase sequence counter */
23         /* cs_* members must be adjacent and in this order (ldp accesses) */
24         __u32 cs_mono_mult;     /* NTP-adjusted clocksource multiplier */
25         __u32 cs_shift;         /* Clocksource shift (mono = raw) */
26         __u32 cs_raw_mult;      /* Raw clocksource multiplier */
27         __u32 tz_minuteswest;   /* Whacky timezone stuff */
28         __u32 tz_dsttime;
29         __u32 use_syscall;
30         __u32 hrtimer_res;
31 };
32
33 #endif /* !__ASSEMBLY__ */
34
35 #endif /* __KERNEL__ */
36
37 #endif /* __ASM_VDSO_DATAPAGE_H */