init_task.c 880 B

1234567891011121314151617181920212223242526272829
  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. struct mm_struct init_mm = INIT_MM(init_mm);
  19. EXPORT_SYMBOL(init_mm);
  20. union thread_union init_thread_union
  21. __attribute__((__section__(".data.init_task"))) =
  22. { INIT_THREAD_INFO(init_task) };
  23. struct task_struct init_task = INIT_TASK(init_task);
  24. EXPORT_SYMBOL(init_task);