diff options
Diffstat (limited to 'include/asm-alpha')
-rw-r--r-- | include/asm-alpha/thread_info.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-alpha/thread_info.h b/include/asm-alpha/thread_info.h index fb3185196298..15fda4344424 100644 --- a/include/asm-alpha/thread_info.h +++ b/include/asm-alpha/thread_info.h | |||
@@ -50,10 +50,8 @@ register struct thread_info *__current_thread_info __asm__("$8"); | |||
50 | #define current_thread_info() __current_thread_info | 50 | #define current_thread_info() __current_thread_info |
51 | 51 | ||
52 | /* Thread information allocation. */ | 52 | /* Thread information allocation. */ |
53 | #define THREAD_SIZE_ORDER 1 | ||
53 | #define THREAD_SIZE (2*PAGE_SIZE) | 54 | #define THREAD_SIZE (2*PAGE_SIZE) |
54 | #define alloc_thread_info(tsk) \ | ||
55 | ((struct thread_info *) __get_free_pages(GFP_KERNEL,1)) | ||
56 | #define free_thread_info(ti) free_pages((unsigned long) (ti), 1) | ||
57 | 55 | ||
58 | #endif /* __ASSEMBLY__ */ | 56 | #endif /* __ASSEMBLY__ */ |
59 | 57 | ||