Linux 2.6.28-rc5
[cris-mirror.git] / arch / xtensa / kernel / init_task.c
blob3df469dbe81438c760960cb36a0a4e1d76ff8012
1 /*
2 * arch/xtensa/kernel/init_task.c
4 * Xtensa Processor version.
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.
10 * Copyright (C) 2007 Tensilica Inc.
12 * Chris Zankel <chris@zankel.net>
15 #include <linux/mm.h>
16 #include <linux/fs.h>
17 #include <linux/init.h>
18 #include <linux/init_task.h>
19 #include <linux/module.h>
20 #include <linux/mqueue.h>
22 #include <asm/uaccess.h>
24 static struct fs_struct init_fs = INIT_FS;
25 static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
26 static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
27 struct mm_struct init_mm = INIT_MM(init_mm);
29 EXPORT_SYMBOL(init_mm);
31 union thread_union init_thread_union
32 __attribute__((__section__(".data.init_task"))) =
33 { INIT_THREAD_INFO(init_task) };
35 struct task_struct init_task = INIT_TASK(init_task);
37 EXPORT_SYMBOL(init_task);