Explorar el Código

m68knommu: fix missing .data.cacheline_aligned section

Add a .data.cacheline_aligned section to the data segment.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Greg Ungerer hace 16 años
padre
commit
a14f5e4feb
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      arch/m68knommu/kernel/vmlinux.lds.S

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

@@ -147,6 +147,8 @@ SECTIONS {
 		. = ALIGN(4);
 		_sdata = . ;
 		DATA_DATA
+		. = ALIGN(32);
+		*(.data.cacheline_aligned)
 		. = ALIGN(8192) ;
 		*(.data.init_task)
 		_edata = . ;