|
@@ -43,9 +43,6 @@ struct thread_info {
|
|
#define alloc_thread_info(tsk) ((struct thread_info *) \
|
|
#define alloc_thread_info(tsk) ((struct thread_info *) \
|
|
__get_free_pages(GFP_KERNEL, THREAD_ORDER))
|
|
__get_free_pages(GFP_KERNEL, THREAD_ORDER))
|
|
#define free_thread_info(ti) free_pages((unsigned long) (ti), THREAD_ORDER)
|
|
#define free_thread_info(ti) free_pages((unsigned long) (ti), THREAD_ORDER)
|
|
-#define get_thread_info(ti) get_task_struct((ti)->task)
|
|
|
|
-#define put_thread_info(ti) put_task_struct((ti)->task)
|
|
|
|
-
|
|
|
|
|
|
|
|
/* how to get the thread information struct from C */
|
|
/* how to get the thread information struct from C */
|
|
#define current_thread_info() ((struct thread_info *)mfctl(30))
|
|
#define current_thread_info() ((struct thread_info *)mfctl(30))
|