perf tools: Don't clone maps from parent when synthesizing forks
[linux/fpc-iii.git] / arch / nds32 / include / asm / vdso_datapage.h
blob79db5a12ca5eb660d2a3ae7873c4872cd2c415f2
1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2012 ARM Limited
3 // Copyright (C) 2005-2017 Andes Technology Corporation
4 #ifndef __ASM_VDSO_DATAPAGE_H
5 #define __ASM_VDSO_DATAPAGE_H
7 #ifdef __KERNEL__
9 #ifndef __ASSEMBLY__
11 struct vdso_data {
12 bool cycle_count_down; /* timer cyclye counter is decrease with time */
13 u32 cycle_count_offset; /* offset of timer cycle counter register */
14 u32 seq_count; /* sequence count - odd during updates */
15 u32 xtime_coarse_sec; /* coarse time */
16 u32 xtime_coarse_nsec;
18 u32 wtm_clock_sec; /* wall to monotonic offset */
19 u32 wtm_clock_nsec;
20 u32 xtime_clock_sec; /* CLOCK_REALTIME - seconds */
21 u32 cs_mult; /* clocksource multiplier */
22 u32 cs_shift; /* Cycle to nanosecond divisor (power of two) */
24 u64 cs_cycle_last; /* last cycle value */
25 u64 cs_mask; /* clocksource mask */
27 u64 xtime_clock_nsec; /* CLOCK_REALTIME sub-ns base */
28 u32 tz_minuteswest; /* timezone info for gettimeofday(2) */
29 u32 tz_dsttime;
32 #endif /* !__ASSEMBLY__ */
34 #endif /* __KERNEL__ */
36 #endif /* __ASM_VDSO_DATAPAGE_H */