Commit 49612a5fa574227db9eb14b0dd4befcf4e273a73

Authored by Tim Abbott
Committed by Greg Ungerer
1 parent d6cd1f0c38

m68knommu: Use INIT_TASK_DATA and CACHELINE_ALIGNED_DATA.

Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>

Showing 1 changed file with 3 additions and 4 deletions Side-by-side Diff

arch/m68knommu/kernel/vmlinux.lds.S
... ... @@ -9,6 +9,7 @@
9 9  
10 10 #include <asm-generic/vmlinux.lds.h>
11 11 #include <asm/page.h>
  12 +#include <asm/thread_info.h>
12 13  
13 14 #if defined(CONFIG_RAMKERNEL)
14 15 #define RAM_START CONFIG_KERNELBASE
... ... @@ -148,10 +149,8 @@
148 149 . = ALIGN(4);
149 150 _sdata = . ;
150 151 DATA_DATA
151   - . = ALIGN(32);
152   - *(.data.cacheline_aligned)
153   - . = ALIGN(8192) ;
154   - *(.data.init_task)
  152 + CACHELINE_ALIGNED_DATA(32)
  153 + INIT_TASK_DATA(THREAD_SIZE)
155 154 _edata = . ;
156 155 } > DATA
157 156