xref: /openbmc/linux/arch/ia64/kernel/fsyscall_gtod_data.h (revision a5a1d1c2914b5316924c7893eb683a5420ebd3be)
10aa366f3STony Luck /*
20aa366f3STony Luck  * (c) Copyright 2007 Hewlett-Packard Development Company, L.P.
30aa366f3STony Luck  *        Contributed by Peter Keilty <peter.keilty@hp.com>
40aa366f3STony Luck  *
50aa366f3STony Luck  * fsyscall gettimeofday data
60aa366f3STony Luck  */
70aa366f3STony Luck 
80aa366f3STony Luck struct fsyscall_gtod_data_t {
974a622beSThomas Gleixner 	seqcount_t	seq;
100aa366f3STony Luck 	struct timespec	wall_time;
110aa366f3STony Luck 	struct timespec monotonic_time;
12*a5a1d1c2SThomas Gleixner 	u64		clk_mask;
130aa366f3STony Luck 	u32		clk_mult;
140aa366f3STony Luck 	u32		clk_shift;
150aa366f3STony Luck 	void		*clk_fsys_mmio;
16*a5a1d1c2SThomas Gleixner 	u64		clk_cycle_last;
17acffc84aSHidetoshi Seto } ____cacheline_aligned;
180aa366f3STony Luck 
190aa366f3STony Luck struct itc_jitter_data_t {
200aa366f3STony Luck 	int		itc_jitter;
21*a5a1d1c2SThomas Gleixner 	u64		itc_lastcycle;
22acffc84aSHidetoshi Seto } ____cacheline_aligned;
230aa366f3STony Luck 
24