Commit 06951c91 authored by Stefan Asserhall's avatar Stefan Asserhall Committed by Michal Simek
Browse files

microblaze: Define percpu sestion in linker file



Adding SMP requires to have percpu section defined.

Signed-off-by: default avatarStefan Asserhall <stefan.asserhall@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Reviewed-by: default avatarArnd Bergmann <arnd@arndb.de>
parent d9d2b2f3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ ENTRY(microblaze_start)

#define RO_EXCEPTION_TABLE_ALIGN	16

#include <asm/cache.h>
#include <asm/page.h>
#include <asm-generic/vmlinux.lds.h>
#include <asm/thread_info.h>
@@ -89,6 +90,8 @@ SECTIONS {
		_KERNEL_SDA_BASE_ = _ssro + (_ssro_size / 2) ;
	}

	PERCPU_SECTION(L1_CACHE_BYTES)

	. = ALIGN(PAGE_SIZE);
	__init_begin = .;