diff options
author | Yoshinori Sato <ysato@users.sourceforge.jp> | 2015-05-31 16:28:17 +0200 |
---|---|---|
committer | Yoshinori Sato <ysato@users.sourceforge.jp> | 2015-11-08 14:44:38 +0100 |
commit | 75078de4ac2901315b77dd813ae2bcb6a5fc1238 (patch) | |
tree | 987e46fd5059a1cc16d57df10ef4b9085add1ed9 /arch/h8300/kernel | |
parent | h8300: unaligned divcr register support. (diff) | |
download | linux-75078de4ac2901315b77dd813ae2bcb6a5fc1238.tar.xz linux-75078de4ac2901315b77dd813ae2bcb6a5fc1238.zip |
h8300: Fix alignment for .data
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Diffstat (limited to 'arch/h8300/kernel')
-rw-r--r-- | arch/h8300/kernel/vmlinux.lds.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/h8300/kernel/vmlinux.lds.S b/arch/h8300/kernel/vmlinux.lds.S index 7c302dcf5249..cb5dfb02c88d 100644 --- a/arch/h8300/kernel/vmlinux.lds.S +++ b/arch/h8300/kernel/vmlinux.lds.S @@ -1,5 +1,6 @@ #include <asm-generic/vmlinux.lds.h> #include <asm/page.h> +#include <asm/thread_info.h> #define ROMTOP 0x000000 #define RAMTOP 0x400000 @@ -42,11 +43,10 @@ SECTIONS . = RAMTOP; _ramstart = .; #define ADDR(x) ROMEND -#else #endif _sdata = . ; __data_start = . ; - RW_DATA_SECTION(0,0,0) + RW_DATA_SECTION(0, PAGE_SIZE, THREAD_SIZE) #if defined(CONFIG_ROMKERNEL) #undef ADDR #endif |