summaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/fsyscall_gtod_data.h
blob: 490dab55fba34ea730f9d002858394ab24dd28a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * (c) Copyright 2007 Hewlett-Packard Development Company, L.P.
 *        Contributed by Peter Keilty <peter.keilty@hp.com>
 *
 * fsyscall gettimeofday data
 */

struct fsyscall_gtod_data_t {
	seqlock_t	lock;
	struct timespec	wall_time;
	struct timespec monotonic_time;
	cycle_t		clk_mask;
	u32		clk_mult;
	u32		clk_shift;
	void		*clk_fsys_mmio;
	cycle_t		clk_cycle_last;
} __attribute__ ((aligned (L1_CACHE_BYTES)));

struct itc_jitter_data_t {
	int		itc_jitter;
	cycle_t		itc_lastcycle;
} __attribute__ ((aligned (L1_CACHE_BYTES)));