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 vm_area_struct init_mmap
= INIT_MMAP
;
13 static struct fs_struct init_fs
= INIT_FS
;
14 static struct files_struct init_files
= INIT_FILES
;
15 static struct signal_struct init_signals
= INIT_SIGNALS
;
16 struct mm_struct init_mm
= INIT_MM(init_mm
);
19 * Initial task structure.
21 * We need to make sure that this is 8192-byte aligned due to the
22 * way process stacks are handled. This is done by making sure
23 * the linker maps this in the .text segment right after head.S,
24 * and making head.S ensure the proper alignment.
26 * The things we do for performance..
28 union task_union init_task_union
__attribute__((__section__(".init.task"))) =
29 { INIT_TASK(init_task_union
.task
) };