Merge branch 'kvm-updates/2.6.36' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[linux-2.6/next.git] / arch / score / kernel / init_task.c
blobbaa03ee217d1abdaaeb1081e0274090a6a1cf544
1 /*
2 * arch/score/kernel/init_task.c
4 * Score Processor version.
6 * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, see the file COPYING, or write
20 * to the Free Software Foundation, Inc.,
21 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
24 #include <linux/init_task.h>
25 #include <linux/mqueue.h>
27 static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
28 static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
31 * Initial thread structure.
33 * We need to make sure that this is THREAD_SIZE aligned due to the
34 * way process stacks are handled. This is done by having a special
35 * "init_task" linker map entry..
37 union thread_union init_thread_union __init_task_data =
38 { INIT_THREAD_INFO(init_task) };
41 * Initial task structure.
43 * All other task structs will be allocated on slabs in fork.c
45 struct task_struct init_task = INIT_TASK(init_task);
46 EXPORT_SYMBOL(init_task);