mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
acffc84ad9
In an ordinary way, > } __attribute__ ((aligned (L1_CACHE_BYTES))); should be > } ____cacheline_aligned; to save some bytes on an uni-processor. Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
24 lines
497 B
C
24 lines
497 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;
|
|
} ____cacheline_aligned;
|
|
|
|
struct itc_jitter_data_t {
|
|
int itc_jitter;
|
|
cycle_t itc_lastcycle;
|
|
} ____cacheline_aligned;
|
|
|