瀏覽代碼

CRIS: Add cache aligned and read mostly data sections

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Jesper Nilsson 15 年之前
父節點
當前提交
dcb313c23f
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      arch/cris/kernel/vmlinux.lds.S

+ 2 - 0
arch/cris/kernel/vmlinux.lds.S

@@ -58,6 +58,8 @@ SECTIONS
 	___data_start = . ;
 	___data_start = . ;
 	__Sdata = . ;
 	__Sdata = . ;
 	.data : {			/* Data */
 	.data : {			/* Data */
+		CACHELINE_ALIGNED_DATA(32)
+		READ_MOSTLY_DATA(32)
 		DATA_DATA
 		DATA_DATA
 	}
 	}
 	__edata = . ;			/* End of data section. */
 	__edata = . ;			/* End of data section. */