diff options
author | Yoshinori Sato <ysato@users.sourceforge.jp> | 2015-05-31 23:28:17 +0900 |
---|---|---|
committer | Yoshinori Sato <ysato@users.sourceforge.jp> | 2015-11-08 22:44:38 +0900 |
commit | 75078de4ac2901315b77dd813ae2bcb6a5fc1238 (patch) | |
tree | 987e46fd5059a1cc16d57df10ef4b9085add1ed9 /arch/h8300/include | |
parent | aca2518064556ae5658974d78cb71f4883911d3d (diff) | |
download | op-kernel-dev-75078de4ac2901315b77dd813ae2bcb6a5fc1238.zip op-kernel-dev-75078de4ac2901315b77dd813ae2bcb6a5fc1238.tar.gz |
h8300: Fix alignment for .data
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Diffstat (limited to 'arch/h8300/include')
-rw-r--r-- | arch/h8300/include/asm/thread_info.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/arch/h8300/include/asm/thread_info.h b/arch/h8300/include/asm/thread_info.h index 544c307..b408fe6 100644 --- a/arch/h8300/include/asm/thread_info.h +++ b/arch/h8300/include/asm/thread_info.h @@ -13,6 +13,12 @@ #ifdef __KERNEL__ +/* + * Size of kernel stack for each process. This must be a power of 2... + */ +#define THREAD_SIZE_ORDER 1 +#define THREAD_SIZE 8192 /* 2 pages */ + #ifndef __ASSEMBLY__ /* @@ -46,14 +52,6 @@ struct thread_info { #define init_thread_info (init_thread_union.thread_info) #define init_stack (init_thread_union.stack) - -/* - * Size of kernel stack for each process. This must be a power of 2... - */ -#define THREAD_SIZE_ORDER 1 -#define THREAD_SIZE 8192 /* 2 pages */ - - /* how to get the thread information struct from C */ static inline struct thread_info *current_thread_info(void) { |