mirror of https://gitee.com/openkylin/linux.git
[IA64] generalize attribute of fsyscall_gtod_data
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>
This commit is contained in:
parent
410ab512e5
commit
acffc84ad9
|
@ -14,10 +14,10 @@ struct fsyscall_gtod_data_t {
|
||||||
u32 clk_shift;
|
u32 clk_shift;
|
||||||
void *clk_fsys_mmio;
|
void *clk_fsys_mmio;
|
||||||
cycle_t clk_cycle_last;
|
cycle_t clk_cycle_last;
|
||||||
} __attribute__ ((aligned (L1_CACHE_BYTES)));
|
} ____cacheline_aligned;
|
||||||
|
|
||||||
struct itc_jitter_data_t {
|
struct itc_jitter_data_t {
|
||||||
int itc_jitter;
|
int itc_jitter;
|
||||||
cycle_t itc_lastcycle;
|
cycle_t itc_lastcycle;
|
||||||
} __attribute__ ((aligned (L1_CACHE_BYTES)));
|
} ____cacheline_aligned;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue