Browse Source

CRIS: Add cache aligned and read mostly data sections

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Jesper Nilsson 15 years ago
parent
commit
dcb313c23f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/cris/kernel/vmlinux.lds.S

+ 2 - 0
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. */