diff options
| author | Russell King <rmk@flint.arm.linux.org.uk> | 2002-02-20 19:09:45 +0000 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2002-02-20 19:09:45 +0000 |
| commit | 9ca7810dcf97bf53af59246c7371505f840068b7 (patch) | |
| tree | 70d7f8a9615316ec5e2383bb0b58414f845f02a7 /arch/arm/kernel/init_task.c | |
| parent | 3d0049844eb9bd41a53a30c5449ac12001654a6c (diff) | |
Preempt support and fix ARM build for thread_info changes
Diffstat (limited to 'arch/arm/kernel/init_task.c')
| -rw-r--r-- | arch/arm/kernel/init_task.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/arch/arm/kernel/init_task.c b/arch/arm/kernel/init_task.c index 2e3ce17b0ca1..0cdc608bd862 100644 --- a/arch/arm/kernel/init_task.c +++ b/arch/arm/kernel/init_task.c @@ -16,7 +16,7 @@ static struct signal_struct init_signals = INIT_SIGNALS; struct mm_struct init_mm = INIT_MM(init_mm); /* - * Initial task structure. + * Initial thread structure. * * We need to make sure that this is 8192-byte aligned due to the * way process stacks are handled. This is done by making sure @@ -25,5 +25,13 @@ struct mm_struct init_mm = INIT_MM(init_mm); * * The things we do for performance.. */ -union task_union init_task_union __attribute__((__section__(".init.task"))) = - { INIT_TASK(init_task_union.task) }; +union thread_union init_thread_union + __attribute__((__section__(".init.task"))) = + { INIT_THREAD_INFO(init_task) }; + +/* + * Initial task structure. + * + * All other task structs will be allocated on slabs in fork.c + */ +struct task_struct init_task = INIT_TASK(init_task); |
