diff options
author | Michal Simek <monstr@monstr.eu> | 2009-03-27 09:25:26 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-03-27 09:25:26 -0400 |
commit | 6496a23add642b7c9203411bdff3ff761835a80a (patch) | |
tree | b0a536aa55cfdebcbf111120be19db3306e9a690 /arch/microblaze/kernel/init_task.c | |
parent | c47f10baa0bd7e3de6b7072cfdcafef58f4147f5 (diff) |
microblaze_v8: process and init task function
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Acked-by: John Linn <john.linn@xilinx.com>
Acked-by: John Williams <john.williams@petalogix.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel/init_task.c')
-rw-r--r-- | arch/microblaze/kernel/init_task.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/init_task.c b/arch/microblaze/kernel/init_task.c new file mode 100644 index 000000000000..48eb9fb255fa --- /dev/null +++ b/arch/microblaze/kernel/init_task.c | |||
@@ -0,0 +1,29 @@ | |||
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); | ||