summaryrefslogtreecommitdiff
path: root/arch/cris
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2010-08-04 14:01:28 +0200
committerJesper Nilsson <jesper.nilsson@axis.com>2010-08-04 14:03:07 +0200
commitdcb313c23f440873a5a382e6672ad6a684193e86 (patch)
tree412e1aab87d6ff6687635ed52ed8d13ce9b0494a /arch/cris
parentc1c8f558749cbf2a7ed16b6ae6e19a4238b6fa33 (diff)
CRIS: Add cache aligned and read mostly data sections
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'arch/cris')
-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
___data_start = . ;
__Sdata = . ;
.data : { /* Data */
+ CACHELINE_ALIGNED_DATA(32)
+ READ_MOSTLY_DATA(32)
DATA_DATA
}
__edata = . ; /* End of data section. */