[PATCH 1/2] m68k: use new macro for .data.cacheline_aligned section.

Tim Abbott
2009-04-30T23:54:15Z

.data.cacheline_aligned should not need a separate output section;
this change moves it into the .data section.

Signed-off-by: Tim Abbott <tabbott@mit.edu>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: linux-m68k@lists.linux-m68k.org
---
arch/m68k/kernel/vmlinux-std.lds | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/arch/m68k/kernel/vmlinux-std.lds b/arch/m68k/kernel/vmlinux-std.lds
index 01d212b..ac800bc 100644
--- a/arch/m68k/kernel/vmlinux-std.lds
+++ b/arch/m68k/kernel/vmlinux-std.lds
@@ -30,13 +30,11 @@ SECTIONS
RODATA

.data : { /* Data */
+ CACHELINE_ALIGNED_DATA(16)
DATA_DATA
CONSTRUCTORS
}

- . = ALIGN(16);
- .data.cacheline_aligned : { *(.data.cacheline_aligned) }
-
.bss : { *(.bss) } /* BSS */

_edata = .; /* End of data section */
--
1.6.2.1