init_task.c 780 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (C) 2009 Michal Simek <monstr@monstr.eu>
  3. * Copyright (C) 2009 PetaLogix
  4. * Copyright (C) 2006 Atmark Techno, Inc.
  5. *
  6. * This file is subject to the terms and conditions of the GNU General Public
  7. * License. See the file "COPYING" in the main directory of this archive
  8. * for more details.
  9. */
  10. #include <linux/module.h>
  11. #include <linux/sched.h>
  12. #include <linux/init_task.h>
  13. #include <linux/fs.h>
  14. #include <linux/mqueue.h>
  15. #include <asm/pgtable.h>
  16. static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
  17. static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
  18. union thread_union init_thread_union __init_task_data =
  19. { INIT_THREAD_INFO(init_task) };
  20. struct task_struct init_task = INIT_TASK(init_task);
  21. EXPORT_SYMBOL(init_task);