summaryrefslogtreecommitdiff
path: root/include/asm-arm
diff options
context:
space:
mode:
authorDavid Mosberger <davidm@napali.hpl.hp.com>2003-06-04 08:35:36 -0700
committerDavid Mosberger <davidm@tiger.hpl.hp.com>2003-06-04 08:35:36 -0700
commit7df5cefd63cf77fe9a7ee3b78113452ed07653e6 (patch)
treefcbc534848c4ec67669d269d4116c7240b0dfc9d /include/asm-arm
parentd62b7983996d57d3ce3f0e45ea7b0d6b7030005c (diff)
[PATCH] allow thread_info to be allocated as part of task_struct
This re-organizes the thread info allocations a bit, so that architectures like ia64 that want to allocate the thread_info structure as part of the task structure allocation can do so. The bulk of the patch is adding the "tsk" information to the thread info allocator (ignored by all non-ia64 architectures), and switching the order of the allocators to make this all possible.
Diffstat (limited to 'include/asm-arm')
-rw-r--r--include/asm-arm/thread_info.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-arm/thread_info.h b/include/asm-arm/thread_info.h
index 8ca864104452..60bec9ec8c79 100644
--- a/include/asm-arm/thread_info.h
+++ b/include/asm-arm/thread_info.h
@@ -84,7 +84,7 @@ static inline struct thread_info *current_thread_info(void)
#define THREAD_SIZE (8192)
-extern struct thread_info *alloc_thread_info(void);
+extern struct thread_info *alloc_thread_info(struct task_struct *task);
extern void free_thread_info(struct thread_info *);
#define get_thread_info(ti) get_task_struct((ti)->task)