]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/ia64/kernel/fsyscall_gtod_data.h
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-bionic-kernel.git] / arch / ia64 / kernel / fsyscall_gtod_data.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
0aa366f3
TL
2/*
3 * (c) Copyright 2007 Hewlett-Packard Development Company, L.P.
4 * Contributed by Peter Keilty <peter.keilty@hp.com>
5 *
6 * fsyscall gettimeofday data
7 */
8
d4d1fc61
TL
9/* like timespec, but includes "shifted nanoseconds" */
10struct time_sn_spec {
11 u64 sec;
12 u64 snsec;
13};
14
0aa366f3 15struct fsyscall_gtod_data_t {
74a622be 16 seqcount_t seq;
d4d1fc61
TL
17 struct time_sn_spec wall_time;
18 struct time_sn_spec monotonic_time;
a5a1d1c2 19 u64 clk_mask;
0aa366f3
TL
20 u32 clk_mult;
21 u32 clk_shift;
22 void *clk_fsys_mmio;
a5a1d1c2 23 u64 clk_cycle_last;
acffc84a 24} ____cacheline_aligned;
0aa366f3
TL
25
26struct itc_jitter_data_t {
27 int itc_jitter;
a5a1d1c2 28 u64 itc_lastcycle;
acffc84a 29} ____cacheline_aligned;
0aa366f3 30