From 353470cc5092400bbb08921016005ce03aa37f33 Mon Sep 17 00:00:00 2001 From: Steven Miao Date: Thu, 16 Jun 2011 18:01:20 +0800 Subject: [PATCH] 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 Signed-off-by: Mike Frysinger --- arch/blackfin/kernel/vmlinux.lds.S | 1 + 1 file changed, 1 insertion(+) 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) -- 2.20.1