summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2010-09-03 11:15:19 +1000
committerLinus Torvalds <torvalds@linux-foundation.org>2010-09-07 13:55:30 -0700
commite6ba59bcae6968ee18ef5a237a8020a0ea331ae1 (patch)
tree5b8b892c0e7874a93f196b1284f06d236c12112a /arch
parent1e72910e248fb94839cd63c0c62107b1f15716f9 (diff)
downloadop-kernel-dev-e6ba59bcae6968ee18ef5a237a8020a0ea331ae1.zip
op-kernel-dev-e6ba59bcae6968ee18ef5a237a8020a0ea331ae1.tar.gz
m68knommu: fix missing linker segments
Recent changes to linker segments that hold per-cpu data broke linking for m68knommu targets: LD vmlinux /usr/local/bin/m68k-uclinux-ld.real: error: no memory region specified for loadable section `.data..shared_aligned' Add missing segments into the m68knommu linker script. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/m68knommu/kernel/vmlinux.lds.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/m68knommu/kernel/vmlinux.lds.S b/arch/m68knommu/kernel/vmlinux.lds.S
index a91b271..ef33213 100644
--- a/arch/m68knommu/kernel/vmlinux.lds.S
+++ b/arch/m68knommu/kernel/vmlinux.lds.S
@@ -150,6 +150,8 @@ SECTIONS {
_sdata = . ;
DATA_DATA
CACHELINE_ALIGNED_DATA(32)
+ PAGE_ALIGNED_DATA(PAGE_SIZE)
+ *(.data..shared_aligned)
INIT_TASK_DATA(THREAD_SIZE)
_edata = . ;
} > DATA
OpenPOWER on IntegriCloud