import of upstream 2.4.34.4 from kernel.org
[linux-2.4.git] / arch / arm / kernel / init_task.c
1 /*
2  *  linux/arch/arm/kernel/init_task.c
3  */
4 #include <linux/mm.h>
5 #include <linux/fs.h>
6 #include <linux/sched.h>
7 #include <linux/init.h>
8
9 #include <asm/uaccess.h>
10 #include <asm/pgtable.h>
11
12 static struct fs_struct init_fs = INIT_FS;
13 static struct files_struct init_files = INIT_FILES;
14 static struct signal_struct init_signals = INIT_SIGNALS;
15 struct mm_struct init_mm = INIT_MM(init_mm);
16
17 /*
18  * Initial task structure.
19  *
20  * We need to make sure that this is 8192-byte aligned due to the
21  * way process stacks are handled. This is done by making sure
22  * the linker maps this in the .text segment right after head.S,
23  * and making head.S ensure the proper alignment.
24  *
25  * The things we do for performance..
26  */
27 union task_union init_task_union __attribute__((__section__(".init.task"))) =
28                 { INIT_TASK(init_task_union.task) };