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

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
...@@ -13,6 +13,7 @@ ENTRY(microblaze_start) ...@@ -13,6 +13,7 @@ ENTRY(microblaze_start)
#define RO_EXCEPTION_TABLE_ALIGN 16 #define RO_EXCEPTION_TABLE_ALIGN 16
#include <asm/cache.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm-generic/vmlinux.lds.h> #include <asm-generic/vmlinux.lds.h>
#include <asm/thread_info.h> #include <asm/thread_info.h>
...@@ -89,6 +90,8 @@ SECTIONS { ...@@ -89,6 +90,8 @@ SECTIONS {
_KERNEL_SDA_BASE_ = _ssro + (_ssro_size / 2) ; _KERNEL_SDA_BASE_ = _ssro + (_ssro_size / 2) ;
} }
PERCPU_SECTION(L1_CACHE_BYTES)
. = ALIGN(PAGE_SIZE); . = ALIGN(PAGE_SIZE);
__init_begin = .; __init_begin = .;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment