CRIS: Add cache aligned and read mostly data sections
Jesper Nilsson [Wed, 4 Aug 2010 12:01:28 +0000 (14:01 +0200)]
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>

arch/cris/kernel/vmlinux.lds.S

index d49d17d..9420511 100644 (file)
@@ -58,6 +58,8 @@ SECTIONS
        ___data_start = . ;
        __Sdata = . ;
        .data : {                       /* Data */
+               CACHELINE_ALIGNED_DATA(32)
+               READ_MOSTLY_DATA(32)
                DATA_DATA
        }
        __edata = . ;                   /* End of data section. */