CRIS: Add cache aligned and read mostly data sections
authorJesper Nilsson <jesper.nilsson@axis.com>
Wed, 4 Aug 2010 12:01:28 +0000 (14:01 +0200)
committerJesper Nilsson <jesper.nilsson@axis.com>
Wed, 4 Aug 2010 12:03:07 +0000 (14:03 +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. */