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