diff options
author | Serge E. Hallyn <serue@us.ibm.com> | 2006-10-02 05:18:07 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 10:57:20 -0400 |
commit | 0437eb594e6e5e699248f865482e61034be846d0 (patch) | |
tree | 1cf333f108c6d613f54b2a91fe1ad0f12a04bace /arch/sh64/kernel/init_task.c | |
parent | ab516013ad9ca47f1d3a936fa81303bfbf734d52 (diff) |
[PATCH] nsproxy: move init_nsproxy into kernel/nsproxy.c
Move the init_nsproxy definition out of arch/ into kernel/nsproxy.c. This
avoids all arches having to be updated. Compiles and boots on s390.
Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
Cc: Kirill Korotaev <dev@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Herbert Poetzl <herbert@13thfloor.at>
Cc: Andrey Savochkin <saw@sw.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/sh64/kernel/init_task.c')
-rw-r--r-- | arch/sh64/kernel/init_task.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh64/kernel/init_task.c b/arch/sh64/kernel/init_task.c index 0c95f40c5403..de2d07db1f88 100644 --- a/arch/sh64/kernel/init_task.c +++ b/arch/sh64/kernel/init_task.c | |||
@@ -14,7 +14,6 @@ | |||
14 | #include <linux/sched.h> | 14 | #include <linux/sched.h> |
15 | #include <linux/init_task.h> | 15 | #include <linux/init_task.h> |
16 | #include <linux/mqueue.h> | 16 | #include <linux/mqueue.h> |
17 | #include <linux/nsproxy.h> | ||
18 | 17 | ||
19 | #include <asm/uaccess.h> | 18 | #include <asm/uaccess.h> |
20 | #include <asm/pgtable.h> | 19 | #include <asm/pgtable.h> |
@@ -24,7 +23,6 @@ static struct files_struct init_files = INIT_FILES; | |||
24 | static struct signal_struct init_signals = INIT_SIGNALS(init_signals); | 23 | static struct signal_struct init_signals = INIT_SIGNALS(init_signals); |
25 | static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); | 24 | static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); |
26 | struct mm_struct init_mm = INIT_MM(init_mm); | 25 | struct mm_struct init_mm = INIT_MM(init_mm); |
27 | struct nsproxy init_nsproxy = INIT_NSPROXY(init_nsproxy); | ||
28 | 26 | ||
29 | struct pt_regs fake_swapper_regs; | 27 | struct pt_regs fake_swapper_regs; |
30 | 28 | ||