summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorSteven Miao2011-06-16 12:01:20 +0200
committerMike Frysinger2011-07-23 07:18:22 +0200
commit353470cc5092400bbb08921016005ce03aa37f33 (patch)
tree51a4e3d2c175fe9b3bbd47e5609b2c3ac741e354 /arch/blackfin/kernel/vmlinux.lds.S
parentBlackfin: gptimers: use bfin read/write helpers (diff)
downloadkernel-qcow2-linux-353470cc5092400bbb08921016005ce03aa37f33.tar.gz
kernel-qcow2-linux-353470cc5092400bbb08921016005ce03aa37f33.tar.xz
kernel-qcow2-linux-353470cc5092400bbb08921016005ce03aa37f33.zip
Blackfin: make sure percpu section is aligned in XIP builds
The alignment is normally handled by PERCPU(), but we need to do it ourselves in the XIP build due to the custom layout. Signed-off-by: Steven Miao <realmz6@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/kernel/vmlinux.lds.S')
-rw-r--r--arch/blackfin/kernel/vmlinux.lds.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/vmlinux.lds.S b/arch/blackfin/kernel/vmlinux.lds.S
index 3ac5b66d14aa..ba35864b2b74 100644
--- a/arch/blackfin/kernel/vmlinux.lds.S
+++ b/arch/blackfin/kernel/vmlinux.lds.S
@@ -155,6 +155,7 @@ SECTIONS
SECURITY_INITCALL
INIT_RAM_FS
+ . = ALIGN(PAGE_SIZE);
___per_cpu_load = .;
PERCPU_INPUT(32)