blob: c4302f0e4ba08a66b39023d13986dda288a4f487 [file] [log] [blame]
Chris Zankel73089cb2007-08-04 09:27:30 -07001/*
2 * arch/xtensa/kernel/init_task.c
3 *
4 * Xtensa Processor version.
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 * Copyright (C) 2007 Tensilica Inc.
11 *
12 * Chris Zankel <chris@zankel.net>
13 */
14
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>
21
22#include <asm/uaccess.h>
23
Chris Zankel73089cb2007-08-04 09:27:30 -070024static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
25static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
Chris Zankel73089cb2007-08-04 09:27:30 -070026union thread_union init_thread_union
27 __attribute__((__section__(".data.init_task"))) =
28{ INIT_THREAD_INFO(init_task) };
29
30struct task_struct init_task = INIT_TASK(init_task);
31
32EXPORT_SYMBOL(init_task);