Преглед изворни кода

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 = . ;
 	__Sdata = . ;
 	.data : {			/* Data */
+		CACHELINE_ALIGNED_DATA(32)
+		READ_MOSTLY_DATA(32)
 		DATA_DATA
 	}
 	__edata = . ;			/* End of data section. */