[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-ia64
Subject: [PATCH] ia64: generalize attribute of fsyscall_gtod_data
From: Hidetoshi Seto <seto.hidetoshi () jp ! fujitsu ! com>
Date: 2008-01-30 3:17:42
Message-ID: 479FEC56.9050803 () jp ! fujitsu ! com
[Download RAW message or body]
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>
---
arch/ia64/kernel/fsyscall_gtod_data.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6.24/arch/ia64/kernel/fsyscall_gtod_data.h
===================================================================
--- linux-2.6.24.orig/arch/ia64/kernel/fsyscall_gtod_data.h
+++ linux-2.6.24/arch/ia64/kernel/fsyscall_gtod_data.h
@@ -14,10 +14,10 @@
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;
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic