]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
Blackfin: make sure percpu section is aligned in XIP builds
authorSteven Miao <realmz6@gmail.com>
Thu, 16 Jun 2011 10:01:20 +0000 (18:01 +0800)
committerMike Frysinger <vapier@gentoo.org>
Sat, 23 Jul 2011 05:18:22 +0000 (01:18 -0400)
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>
arch/blackfin/kernel/vmlinux.lds.S

index 3ac5b66d14aa72de5234801dbcc47e61c3a5f67d..ba35864b2b74b50e3ad32527419a83ef6abb9629 100644 (file)
@@ -155,6 +155,7 @@ SECTIONS
                SECURITY_INITCALL
                INIT_RAM_FS
 
+               . = ALIGN(PAGE_SIZE);
                ___per_cpu_load = .;
                PERCPU_INPUT(32)