2 * This is where we statically allocate and initialize the initial
5 * Copyright (C) 1999 Hewlett-Packard Co
6 * Copyright (C) 1999 David Mosberger-Tang <davidm@hpl.hp.com>
9 #include <linux/init.h>
11 #include <linux/sched.h>
13 #include <asm/uaccess.h>
14 #include <asm/pgtable.h>
16 static struct fs_struct init_fs = INIT_FS;
17 static struct files_struct init_files = INIT_FILES;
18 static struct signal_struct init_signals = INIT_SIGNALS;
19 struct mm_struct init_mm = INIT_MM(init_mm);
22 * Initial task structure.
24 * We need to make sure that this is page aligned due to the way
25 * process stacks are handled. This is done by having a special
26 * "init_task" linker map entry..
28 union task_union init_task_union
29 __attribute__((section("init_task"))) =
30 { INIT_TASK(init_task_union.task) };