From: <ke...@us...> - 2003-09-10 08:59:45
|
Update of /cvsroot/linux-vax/kernel-2.5/include/asm-vax In directory sc8-pr-cvs1:/tmp/cvs-serv13845/include/asm-vax Modified Files: thread_info.h Log Message: alloc_thread_info() takes a task argument in 2.5.71 Index: thread_info.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/include/asm-vax/thread_info.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- thread_info.h 9 Jul 2003 23:10:17 -0000 1.3 +++ thread_info.h 10 Sep 2003 08:59:41 -0000 1.4 @@ -79,7 +79,7 @@ /* thread information allocation */ #define THREAD_SIZE (2*PAGE_SIZE) -#define alloc_thread_info() ((struct thread_info *) __get_free_pages(GFP_KERNEL,1)) +#define alloc_thread_info(task) ((struct thread_info *) __get_free_pages(GFP_KERNEL,1)) #define free_thread_info(ti) free_pages((unsigned long) (ti), 1) #define get_thread_info(ti) get_task_struct((ti)->task) #define put_thread_info(ti) put_task_struct((ti)->task) |