aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2010-08-04 08:01:28 -0400
committerJesper Nilsson <jesper.nilsson@axis.com>2010-08-04 08:03:07 -0400
commitdcb313c23f440873a5a382e6672ad6a684193e86 (patch)
tree412e1aab87d6ff6687635ed52ed8d13ce9b0494a
parentc1c8f558749cbf2a7ed16b6ae6e19a4238b6fa33 (diff)
CRIS: Add cache aligned and read mostly data sections
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
-rw-r--r--arch/cris/kernel/vmlinux.lds.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/cris/kernel/vmlinux.lds.S b/arch/cris/kernel/vmlinux.lds.S
index d49d17d2a14f..942051102bb5 100644
--- a/arch/cris/kernel/vmlinux.lds.S
+++ b/arch/cris/kernel/vmlinux.lds.S
@@ -58,6 +58,8 @@ SECTIONS
58 ___data_start = . ; 58 ___data_start = . ;
59 __Sdata = . ; 59 __Sdata = . ;
60 .data : { /* Data */ 60 .data : { /* Data */
61 CACHELINE_ALIGNED_DATA(32)
62 READ_MOSTLY_DATA(32)
61 DATA_DATA 63 DATA_DATA
62 } 64 }
63 __edata = . ; /* End of data section. */ 65 __edata = . ; /* End of data section. */