Import 2.3.11pre1
[davej-history.git] / arch / i386 / kernel / init_task.c
blob0faa696a4e3eee1470f1b7a59955443b43044bde
1 #include <linux/mm.h>
2 #include <linux/sched.h>
4 #include <asm/uaccess.h>
5 #include <asm/pgtable.h>
6 #include <asm/desc.h>
8 static struct vm_area_struct init_mmap = INIT_MMAP;
9 static struct fs_struct init_fs = INIT_FS;
10 static struct file * init_fd_array[NR_OPEN] = { NULL, };
11 static struct files_struct init_files = INIT_FILES;
12 static struct signal_struct init_signals = INIT_SIGNALS;
13 struct mm_struct init_mm = INIT_MM(init_mm);
16 * Initial task structure.
18 * We need to make sure that this is 8192-byte aligned due to the
19 * way process stacks are handled. This is done by having a special
20 * "init_task" linker map entry..
22 union task_union init_task_union
23 __attribute__((__section__(".data.init_task"))) =
24 { INIT_TASK(init_task_union.task) };