Back to home page

LXR

 
 

    


0001 #include <linux/init_task.h>
0002 #include <linux/export.h>
0003 #include <linux/mqueue.h>
0004 #include <linux/sched.h>
0005 #include <linux/sched/sysctl.h>
0006 #include <linux/sched/rt.h>
0007 #include <linux/init.h>
0008 #include <linux/fs.h>
0009 #include <linux/mm.h>
0010 
0011 #include <asm/pgtable.h>
0012 #include <linux/uaccess.h>
0013 
0014 static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
0015 static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
0016 
0017 /* Initial task structure */
0018 struct task_struct init_task = INIT_TASK(init_task);
0019 EXPORT_SYMBOL(init_task);
0020 
0021 /*
0022  * Initial thread structure. Alignment of this is handled by a special
0023  * linker map entry.
0024  */
0025 union thread_union init_thread_union __init_task_data = {
0026 #ifndef CONFIG_THREAD_INFO_IN_TASK
0027     INIT_THREAD_INFO(init_task)
0028 #endif
0029 };