]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[IA64] generalize attribute of fsyscall_gtod_data
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Wed, 30 Jan 2008 03:17:42 +0000 (12:17 +0900)
committerTony Luck <tony.luck@intel.com>
Mon, 4 Feb 2008 23:36:36 +0000 (15:36 -0800)
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>
arch/ia64/kernel/fsyscall_gtod_data.h

index 490dab55fba34ea730f9d002858394ab24dd28a0..57d2ee6c83e1e637cd5c587f165834f980fb38a7 100644 (file)
@@ -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;