diff options
Diffstat (limited to 'arch/m32r')
-rw-r--r-- | arch/m32r/include/asm/thread_info.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/arch/m32r/include/asm/thread_info.h b/arch/m32r/include/asm/thread_info.h index bf8fa3c06f4e..c083f6073ef4 100644 --- a/arch/m32r/include/asm/thread_info.h +++ b/arch/m32r/include/asm/thread_info.h | |||
@@ -55,8 +55,8 @@ struct thread_info { | |||
55 | 55 | ||
56 | #define PREEMPT_ACTIVE 0x10000000 | 56 | #define PREEMPT_ACTIVE 0x10000000 |
57 | 57 | ||
58 | #define THREAD_SIZE (PAGE_SIZE << 1) | 58 | #define THREAD_SIZE (PAGE_SIZE << 1) |
59 | 59 | #define THREAD_SIZE_ORDER 1 | |
60 | /* | 60 | /* |
61 | * macros/functions for gaining access to the thread information structure | 61 | * macros/functions for gaining access to the thread information structure |
62 | */ | 62 | */ |
@@ -92,19 +92,6 @@ static inline struct thread_info *current_thread_info(void) | |||
92 | return ti; | 92 | return ti; |
93 | } | 93 | } |
94 | 94 | ||
95 | #define __HAVE_ARCH_THREAD_INFO_ALLOCATOR | ||
96 | |||
97 | /* thread information allocation */ | ||
98 | #ifdef CONFIG_DEBUG_STACK_USAGE | ||
99 | #define alloc_thread_info_node(tsk, node) \ | ||
100 | kzalloc_node(THREAD_SIZE, GFP_KERNEL, node) | ||
101 | #else | ||
102 | #define alloc_thread_info_node(tsk, node) \ | ||
103 | kmalloc_node(THREAD_SIZE, GFP_KERNEL, node) | ||
104 | #endif | ||
105 | |||
106 | #define free_thread_info(info) kfree(info) | ||
107 | |||
108 | #define TI_FLAG_FAULT_CODE_SHIFT 28 | 95 | #define TI_FLAG_FAULT_CODE_SHIFT 28 |
109 | 96 | ||
110 | static inline void set_thread_fault_code(unsigned int val) | 97 | static inline void set_thread_fault_code(unsigned int val) |