Bläddra i källkod

CRIS: Add cache aligned and read mostly data sections

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Jesper Nilsson 15 år sedan
förälder
incheckning
dcb313c23f
1 ändrade filer med 2 tillägg och 0 borttagningar
  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. */