xref: /openbmc/linux/arch/ia64/kernel/fsyscall_gtod_data.h (revision acffc84ad9c1c8a79b8c1d6b9f4f530f37cba9ab)
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 {
90aa366f3STony Luck 	seqlock_t	lock;
100aa366f3STony Luck 	struct timespec	wall_time;
110aa366f3STony Luck 	struct timespec monotonic_time;
120aa366f3STony Luck 	cycle_t		clk_mask;
130aa366f3STony Luck 	u32		clk_mult;
140aa366f3STony Luck 	u32		clk_shift;
150aa366f3STony Luck 	void		*clk_fsys_mmio;
160aa366f3STony Luck 	cycle_t		clk_cycle_last;
17*acffc84aSHidetoshi Seto } ____cacheline_aligned;
180aa366f3STony Luck 
190aa366f3STony Luck struct itc_jitter_data_t {
200aa366f3STony Luck 	int		itc_jitter;
210aa366f3STony Luck 	cycle_t		itc_lastcycle;
22*acffc84aSHidetoshi Seto } ____cacheline_aligned;
230aa366f3STony Luck 
24