diff options
Diffstat (limited to 'include/asm-h8300')
-rw-r--r-- | include/asm-h8300/elf.h | 4 | ||||
-rw-r--r-- | include/asm-h8300/thread_info.h | 5 |
2 files changed, 3 insertions, 6 deletions
diff --git a/include/asm-h8300/elf.h b/include/asm-h8300/elf.h index 26bfc7e641da..a8b57d1f4128 100644 --- a/include/asm-h8300/elf.h +++ b/include/asm-h8300/elf.h | |||
@@ -26,10 +26,10 @@ typedef unsigned long elf_fpregset_t; | |||
26 | #define ELF_DATA ELFDATA2MSB | 26 | #define ELF_DATA ELFDATA2MSB |
27 | #define ELF_ARCH EM_H8_300 | 27 | #define ELF_ARCH EM_H8_300 |
28 | #if defined(__H8300H__) | 28 | #if defined(__H8300H__) |
29 | #define ELF_FLAGS 0x810000 | 29 | #define ELF_CORE_EFLAGS 0x810000 |
30 | #endif | 30 | #endif |
31 | #if defined(__H8300S__) | 31 | #if defined(__H8300S__) |
32 | #define ELF_FLAGS 0x820000 | 32 | #define ELF_CORE_EFLAGS 0x820000 |
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | #define ELF_PLAT_INIT(_r) _r->er1 = 0 | 35 | #define ELF_PLAT_INIT(_r) _r->er1 = 0 |
diff --git a/include/asm-h8300/thread_info.h b/include/asm-h8300/thread_info.h index 27bb95e2944c..aafd4d322ec3 100644 --- a/include/asm-h8300/thread_info.h +++ b/include/asm-h8300/thread_info.h | |||
@@ -49,6 +49,7 @@ struct thread_info { | |||
49 | /* | 49 | /* |
50 | * Size of kernel stack for each process. This must be a power of 2... | 50 | * Size of kernel stack for each process. This must be a power of 2... |
51 | */ | 51 | */ |
52 | #define THREAD_SIZE_ORDER 1 | ||
52 | #define THREAD_SIZE 8192 /* 2 pages */ | 53 | #define THREAD_SIZE 8192 /* 2 pages */ |
53 | 54 | ||
54 | 55 | ||
@@ -65,10 +66,6 @@ static inline struct thread_info *current_thread_info(void) | |||
65 | return ti; | 66 | return ti; |
66 | } | 67 | } |
67 | 68 | ||
68 | /* thread information allocation */ | ||
69 | #define alloc_thread_info(tsk) ((struct thread_info *) \ | ||
70 | __get_free_pages(GFP_KERNEL, 1)) | ||
71 | #define free_thread_info(ti) free_pages((unsigned long) (ti), 1) | ||
72 | #endif /* __ASSEMBLY__ */ | 69 | #endif /* __ASSEMBLY__ */ |
73 | 70 | ||
74 | /* | 71 | /* |