Import 2.3.9pre5
[davej-history.git] / arch / mips / kernel / init_task.c
blob2ce7885c5cc9cd42137801c11098bfec5f436ff9
1 #include <linux/mm.h>
2 #include <linux/sched.h>
4 #include <asm/uaccess.h>
5 #include <asm/pgtable.h>
7 static struct vm_area_struct init_mmap = INIT_MMAP;
8 static struct fs_struct init_fs = INIT_FS;
9 static struct files * init_fd_array[NR_OPEN] = { NULL, };
10 static struct files_struct init_files = INIT_FILES;
11 static struct signal_struct init_signals = INIT_SIGNALS;
12 struct mm_struct init_mm = INIT_MM(init_mm);
15 * Initial task structure.
17 * We need to make sure that this is 8192-byte aligned due to the
18 * way process stacks are handled. This is done by making sure
19 * the linker maps this in the .text segment right after head.S,
20 * and making head.S ensure the proper alignment.
22 * The things we do for performance..
24 union task_union init_task_union
25 __attribute__((__section__(".text"))) =
26 { INIT_TASK(init_task_union.task) };