]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/x86/include/asm/vgtod.h
x86/debug: Fix/improve the show_msr=<cpus> debug print out
[mirror_ubuntu-artful-kernel.git] / arch / x86 / include / asm / vgtod.h
CommitLineData
1965aae3
PA
1#ifndef _ASM_X86_VGTOD_H
2#define _ASM_X86_VGTOD_H
2aae950b
AK
3
4#include <asm/vsyscall.h>
5#include <linux/clocksource.h>
6
7struct vsyscall_gtod_data {
8 seqlock_t lock;
9
10 /* open coded 'struct timespec' */
11 time_t wall_time_sec;
12 u32 wall_time_nsec;
13
2aae950b
AK
14 struct timezone sys_tz;
15 struct { /* extract of a clocksource struct */
98d0ac38 16 int vclock_mode;
2aae950b
AK
17 cycle_t cycle_last;
18 cycle_t mask;
19 u32 mult;
20 u32 shift;
21 } clock;
22 struct timespec wall_to_monotonic;
da15cfda 23 struct timespec wall_time_coarse;
2aae950b 24};
2aae950b
AK
25extern struct vsyscall_gtod_data vsyscall_gtod_data;
26
1965aae3 27#endif /* _ASM_X86_VGTOD_H */