summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-05-17 13:38:44 +0200
committerSam Ravnborg <sam@ravnborg.org>2007-05-19 09:11:57 +0200
commitca967258b69eb65dcb07bbab90fdf964c6d2ec45 (patch)
treee02acc9e830fd76e411f742ac39a7c359d7e5ba9 /arch/xtensa/kernel
parent7664709b44a13e2e0b545e2dd8e7b8797a1748dc (diff)
downloadop-kernel-dev-ca967258b69eb65dcb07bbab90fdf964c6d2ec45.zip
op-kernel-dev-ca967258b69eb65dcb07bbab90fdf964c6d2ec45.tar.gz
all-archs: consolidate .data section definition in asm-generic
With this consolidation we can now modify the .data section definition in one spot for all archs. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/xtensa/kernel')
-rw-r--r--arch/xtensa/kernel/vmlinux.lds.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/xtensa/kernel/vmlinux.lds.S b/arch/xtensa/kernel/vmlinux.lds.S
index 7d2dfb2..4b7b4ff 100644
--- a/arch/xtensa/kernel/vmlinux.lds.S
+++ b/arch/xtensa/kernel/vmlinux.lds.S
@@ -145,7 +145,8 @@ SECTIONS
_fdata = .;
.data :
{
- *(.data) CONSTRUCTORS
+ DATA_DATA
+ CONSTRUCTORS
. = ALIGN(XCHAL_ICACHE_LINESIZE);
*(.data.cacheline_aligned)
}
OpenPOWER on IntegriCloud