mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 03:36:42 +07:00
0aa366f351
This is a merge of Peter Keilty's initial patch (which was revived by Bob Picco) for this with Hidetoshi Seto's fixes and scaling improvements. Acked-by: Bob Picco <bob.picco@hp.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
24 lines
539 B
C
24 lines
539 B
C
/*
|
|
* (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)));
|
|
|