~ubuntu-branches/ubuntu/quantal/linux-lowlatency/quantal-proposed

« back to all changes in this revision

Viewing changes to arch/openrisc/kernel/init_task.c

  • Committer: Package Import Robot
  • Author(s): Andy Whitcroft, Andy Whitcroft
  • Date: 2012-06-21 09:16:38 UTC
  • Revision ID: package-import@ubuntu.com-20120621091638-gubhv4nox8xez1ct
Tags: 3.5.0-1.1
[ Andy Whitcroft]

* Rebuild lowlatency against Ubuntu-3.5.0-1.1
* All new configuration system to allow configuration deltas to be
  exposed via debian.lowlatency/config-delta

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * OpenRISC init_task.c
3
 
 *
4
 
 * Linux architectural port borrowing liberally from similar works of
5
 
 * others.  All original copyrights apply as per the original source
6
 
 * declaration.
7
 
 *
8
 
 * Modifications for the OpenRISC architecture:
9
 
 * Copyright (C) 2003 Matjaz Breskvar <phoenix@bsemi.com>
10
 
 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se>
11
 
 *
12
 
 *      This program is free software; you can redistribute it and/or
13
 
 *      modify it under the terms of the GNU General Public License
14
 
 *      as published by the Free Software Foundation; either version
15
 
 *      2 of the License, or (at your option) any later version.
16
 
 */
17
 
 
18
 
#include <linux/init_task.h>
19
 
#include <linux/mqueue.h>
20
 
 
21
 
static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
22
 
static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
23
 
 
24
 
/*
25
 
 * Initial thread structure.
26
 
 *
27
 
 * We need to make sure that this is THREAD_SIZE aligned due to the
28
 
 * way process stacks are handled. This is done by having a special
29
 
 * "init_task" linker map entry..
30
 
 */
31
 
union thread_union init_thread_union __init_task_data = {
32
 
        INIT_THREAD_INFO(init_task)
33
 
};
34
 
 
35
 
/*
36
 
 * Initial task structure.
37
 
 *
38
 
 * All other task structs will be allocated on slabs in fork.c
39
 
 */
40
 
struct task_struct init_task = INIT_TASK(init_task);
41
 
EXPORT_SYMBOL(init_task);