From: Jesper Nilsson Date: Wed, 4 Aug 2010 12:01:28 +0000 (+0200) Subject: CRIS: Add cache aligned and read mostly data sections X-Git-Tag: v2.6.36-rc1~484^2~6 X-Git-Url: http://bbs.cooldavid.org/git/?a=commitdiff_plain;h=dcb313c23f440873a5a382e6672ad6a684193e86;p=net-next-2.6.git CRIS: Add cache aligned and read mostly data sections Signed-off-by: Jesper Nilsson --- diff --git a/arch/cris/kernel/vmlinux.lds.S b/arch/cris/kernel/vmlinux.lds.S index d49d17d2a14..942051102bb 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. */