Răsfoiți Sursa

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>
Steven Miao 14 ani în urmă
părinte
comite
353470cc50
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      arch/blackfin/kernel/vmlinux.lds.S

+ 1 - 0
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)