Skip to content

Commit

Permalink
Blackfin: make sure percpu section is aligned in XIP builds
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Miao authored and Mike Frysinger committed Jul 23, 2011
1 parent 997f95e commit 353470c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/blackfin/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ SECTIONS
SECURITY_INITCALL
INIT_RAM_FS

. = ALIGN(PAGE_SIZE);
___per_cpu_load = .;
PERCPU_INPUT(32)

Expand Down

0 comments on commit 353470c

Please sign in to comment.