diff options
author | Stefan Asserhall <stefan.asserhall@xilinx.com> | 2020-01-21 14:11:07 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-02-25 14:33:19 +0300 |
commit | 06951c9115fe20d479d35c3b4a95c2de0e1d587b (patch) | |
tree | 27548c4ca4c9affdada972426142068a4b0f6ead /arch/microblaze/kernel | |
parent | d9d2b2f307ce72517e891f21a0e3e101673beb3e (diff) | |
download | linux-06951c9115fe20d479d35c3b4a95c2de0e1d587b.tar.xz |
microblaze: Define percpu sestion in linker file
Adding SMP requires to have percpu section defined.
Signed-off-by: Stefan Asserhall <stefan.asserhall@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/microblaze/kernel')
-rw-r--r-- | arch/microblaze/kernel/vmlinux.lds.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/vmlinux.lds.S b/arch/microblaze/kernel/vmlinux.lds.S index 2c09fa3a8a01..df07b3d06cd6 100644 --- a/arch/microblaze/kernel/vmlinux.lds.S +++ b/arch/microblaze/kernel/vmlinux.lds.S @@ -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 = .; |