1 #include <linux/mm.h> 2 #include <linux/sched.h> 3 #include <linux/init.h> 4 5 #include <asm/uaccess.h> 6 #include <asm/pgtable.h> 7 8 static struct fs_struct init_fs = INIT_FS; 9 static struct files_struct init_files = INIT_FILES; 10 static struct signal_struct init_signals = INIT_SIGNALS; 11 struct mm_struct init_mm = INIT_MM(init_mm); 12 13 /* 14 * Initial task structure. 15 * 16 * We need to make sure that this is 8192-byte aligned due to the 17 * way process stacks are handled. This is done by having a special 18 * "init_task" linker map entry.. 19 */ 20 union task_union init_task_union 21 __attribute__((__section__(".data.init_task"))) = 22 { INIT_TASK(init_task_union.task) }; 23