OMAP3: PM: Fix Smartreflex when used with PM_NOOP layer
[linux-ginger.git] / arch / blackfin / kernel / init_task.c
blob118c5b9dedacf9fdbb9ed719dffa4c430a4af2f9
1 /*
2 * Copyright 2004-2009 Analog Devices Inc.
4 * Licensed under the GPL-2 or later
5 */
7 #include <linux/mm.h>
8 #include <linux/module.h>
9 #include <linux/init_task.h>
10 #include <linux/mqueue.h>
11 #include <linux/fs.h>
13 static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
14 static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
16 * Initial task structure.
18 * All other task structs will be allocated on slabs in fork.c
20 struct task_struct init_task = INIT_TASK(init_task);
21 EXPORT_SYMBOL(init_task);
24 * Initial thread structure.
26 * We need to make sure that this is 8192-byte aligned due to the
27 * way process stacks are handled. This is done by having a special
28 * "init_task" linker map entry.
30 union thread_union init_thread_union
31 __attribute__ ((__section__(".init_task.data"))) = {
32 INIT_THREAD_INFO(init_task)};