Michal Simek | 6496a23 | 2009-03-27 14:25:26 +0100 | [diff] [blame^] | 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 | |
| 11 | #include <linux/module.h> |
| 12 | #include <linux/sched.h> |
| 13 | #include <linux/init_task.h> |
| 14 | #include <linux/fs.h> |
| 15 | #include <linux/mqueue.h> |
| 16 | |
| 17 | #include <asm/pgtable.h> |
| 18 | |
| 19 | static struct signal_struct init_signals = INIT_SIGNALS(init_signals); |
| 20 | static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); |
| 21 | struct mm_struct init_mm = INIT_MM(init_mm); |
| 22 | EXPORT_SYMBOL(init_mm); |
| 23 | |
| 24 | union thread_union init_thread_union |
| 25 | __attribute__((__section__(".data.init_task"))) = |
| 26 | { INIT_THREAD_INFO(init_task) }; |
| 27 | |
| 28 | struct task_struct init_task = INIT_TASK(init_task); |
| 29 | EXPORT_SYMBOL(init_task); |