2 * linux/arch/arm/kernel/init_task.c
6 #include <linux/sched.h>
7 #include <linux/init.h>
9 #include <asm/uaccess.h>
10 #include <asm/pgtable.h>
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);
18 * Initial task structure.
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.
25 * The things we do for performance..
27 union task_union init_task_union __attribute__((__section__(".init.task"))) =
28 { INIT_TASK(init_task_union.task) };