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 8*d4d1fc61STony Luck /* like timespec, but includes "shifted nanoseconds" */ 9*d4d1fc61STony Luck struct time_sn_spec { 10*d4d1fc61STony Luck u64 sec; 11*d4d1fc61STony Luck u64 snsec; 12*d4d1fc61STony Luck }; 13*d4d1fc61STony Luck 140aa366f3STony Luck struct fsyscall_gtod_data_t { 1574a622beSThomas Gleixner seqcount_t seq; 16*d4d1fc61STony Luck struct time_sn_spec wall_time; 17*d4d1fc61STony Luck struct time_sn_spec monotonic_time; 18a5a1d1c2SThomas Gleixner u64 clk_mask; 190aa366f3STony Luck u32 clk_mult; 200aa366f3STony Luck u32 clk_shift; 210aa366f3STony Luck void *clk_fsys_mmio; 22a5a1d1c2SThomas Gleixner u64 clk_cycle_last; 23acffc84aSHidetoshi Seto } ____cacheline_aligned; 240aa366f3STony Luck 250aa366f3STony Luck struct itc_jitter_data_t { 260aa366f3STony Luck int itc_jitter; 27a5a1d1c2SThomas Gleixner u64 itc_lastcycle; 28acffc84aSHidetoshi Seto } ____cacheline_aligned; 290aa366f3STony Luck 30