|
@@ -55,6 +55,8 @@ struct thread_info {
|
|
|
|
|
|
#define PREEMPT_ACTIVE 0x10000000
|
|
|
|
|
|
+#define THREAD_SIZE (PAGE_SIZE << 1)
|
|
|
+
|
|
|
/*
|
|
|
* macros/functions for gaining access to the thread information structure
|
|
|
*/
|
|
@@ -76,8 +78,6 @@ struct thread_info {
|
|
|
#define init_thread_info (init_thread_union.thread_info)
|
|
|
#define init_stack (init_thread_union.stack)
|
|
|
|
|
|
-#define THREAD_SIZE (2*PAGE_SIZE)
|
|
|
-
|
|
|
/* how to get the thread information struct from C */
|
|
|
static inline struct thread_info *current_thread_info(void)
|
|
|
{
|
|
@@ -127,8 +127,6 @@ static inline unsigned int get_thread_fault_code(void)
|
|
|
|
|
|
#else /* !__ASSEMBLY__ */
|
|
|
|
|
|
-#define THREAD_SIZE 8192
|
|
|
-
|
|
|
/* how to get the thread information struct from ASM */
|
|
|
#define GET_THREAD_INFO(reg) GET_THREAD_INFO reg
|
|
|
.macro GET_THREAD_INFO reg
|