1 #include <linux/mm.h> 2 #include <linux/sched.h> 3 4 #include <asm/pgtable.h> 5 #include <asm/uaccess.h> 6 7 static struct fs_struct init_fs = INIT_FS; 8 static struct files_struct init_files = INIT_FILES; 9 static struct signal_struct init_signals = INIT_SIGNALS; 10 struct mm_struct init_mm = INIT_MM(init_mm); 11 12 /* .text section in head.S is aligned at 8k boundry and this gets linked 13 * right after that so that the init_task_union is aligned properly as well. 14 * If this is not aligned on a 8k boundry, then you should change code 15 * in etrap.S which assumes it. 16 */ 17 __asm__(".section \".text\",#alloc\n"); 18 union task_union init_task_union = 19 { INIT_TASK(init_task_union.task) }; 20