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 d49d17d2a14f5a36be1e4da6670897734565b4b8..942051102bb5d2606ac06ef6ecd9ba78c7c209ed 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. */