summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>2008-01-30 12:17:42 +0900
committerTony Luck <tony.luck@intel.com>2008-02-04 15:36:36 -0800
commitacffc84ad9c1c8a79b8c1d6b9f4f530f37cba9ab (patch)
treeb6185d3e67ea3b58c07b7f92d6051ec2629f37de
parent410ab512e5c5716287a399145df0905c1dcddb04 (diff)
downloadop-kernel-dev-acffc84ad9c1c8a79b8c1d6b9f4f530f37cba9ab.zip
op-kernel-dev-acffc84ad9c1c8a79b8c1d6b9f4f530f37cba9ab.tar.gz
[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>
-rw-r--r--arch/ia64/kernel/fsyscall_gtod_data.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kernel/fsyscall_gtod_data.h b/arch/ia64/kernel/fsyscall_gtod_data.h
index 490dab5..57d2ee6 100644
--- a/arch/ia64/kernel/fsyscall_gtod_data.h
+++ b/arch/ia64/kernel/fsyscall_gtod_data.h
@@ -14,10 +14,10 @@ struct fsyscall_gtod_data_t {
u32 clk_shift;
void *clk_fsys_mmio;
cycle_t clk_cycle_last;
-} __attribute__ ((aligned (L1_CACHE_BYTES)));
+} ____cacheline_aligned;
struct itc_jitter_data_t {
int itc_jitter;
cycle_t itc_lastcycle;
-} __attribute__ ((aligned (L1_CACHE_BYTES)));
+} ____cacheline_aligned;
OpenPOWER on IntegriCloud