Files
OrangePi_CM5/arch/um/kernel/init_task.c
T

38 lines
999 B
C
Raw Normal View History

2007-05-10 22:22:34 -07:00
/*
* Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,intel.linux}.com)
2005-04-16 15:20:36 -07:00
* Licensed under the GPL
*/
#include "linux/sched.h"
#include "linux/init_task.h"
2007-10-16 01:26:54 -07:00
#include "linux/fs.h"
#include "linux/module.h"
2005-04-16 15:20:36 -07:00
#include "linux/mqueue.h"
#include "asm/uaccess.h"
static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
/*
* Initial task structure.
*
* All other task structs will be allocated on slabs in fork.c
*/
struct task_struct init_task = INIT_TASK(init_task);
EXPORT_SYMBOL(init_task);
/*
* Initial thread structure.
*
2007-05-10 22:22:34 -07:00
* We need to make sure that this is aligned due to the
2005-04-16 15:20:36 -07:00
* way process stacks are handled. This is done by having a special
* "init_task" linker map entry..
*/
union thread_union init_thread_union __init_task_data =
{ INIT_THREAD_INFO(init_task) };
2007-05-10 22:22:34 -07:00
union thread_union cpu0_irqstack
__attribute__((__section__(".data..init_irqstack"))) =
2007-05-10 22:22:34 -07:00
{ INIT_THREAD_INFO(init_task) };