diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-04-24 04:11:18 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-04-24 04:11:23 -0400 |
| commit | 416dfdcdb894432547ead4fcb9fa6a36b396059e (patch) | |
| tree | 8033fdda07397a59c5fa98c88927040906ce6c1a /include/linux/init_task.h | |
| parent | 56449f437add737a1e5e1cb7e00f63ac8ead1938 (diff) | |
| parent | 091069740304c979f957ceacec39c461d0192158 (diff) | |
Merge commit 'v2.6.30-rc3' into tracing/hw-branch-tracing
Conflicts:
arch/x86/kernel/ptrace.c
Merge reason: fix the conflict above, and also pick up the CONFIG_BROKEN
dependency change from upstream so that we can remove it
here.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/init_task.h')
| -rw-r--r-- | include/linux/init_task.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/include/linux/init_task.h b/include/linux/init_task.h index af1de95e711e..d87247d2641f 100644 --- a/include/linux/init_task.h +++ b/include/linux/init_task.h | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | #include <linux/irqflags.h> | 5 | #include <linux/irqflags.h> |
| 6 | #include <linux/utsname.h> | 6 | #include <linux/utsname.h> |
| 7 | #include <linux/lockdep.h> | 7 | #include <linux/lockdep.h> |
| 8 | #include <linux/ftrace.h> | ||
| 8 | #include <linux/ipc.h> | 9 | #include <linux/ipc.h> |
| 9 | #include <linux/pid_namespace.h> | 10 | #include <linux/pid_namespace.h> |
| 10 | #include <linux/user_namespace.h> | 11 | #include <linux/user_namespace.h> |
| @@ -14,19 +15,6 @@ | |||
| 14 | extern struct files_struct init_files; | 15 | extern struct files_struct init_files; |
| 15 | extern struct fs_struct init_fs; | 16 | extern struct fs_struct init_fs; |
| 16 | 17 | ||
| 17 | #define INIT_KIOCTX(name, which_mm) \ | ||
| 18 | { \ | ||
| 19 | .users = ATOMIC_INIT(1), \ | ||
| 20 | .dead = 0, \ | ||
| 21 | .mm = &which_mm, \ | ||
| 22 | .user_id = 0, \ | ||
| 23 | .next = NULL, \ | ||
| 24 | .wait = __WAIT_QUEUE_HEAD_INITIALIZER(name.wait), \ | ||
| 25 | .ctx_lock = __SPIN_LOCK_UNLOCKED(name.ctx_lock), \ | ||
| 26 | .reqs_active = 0U, \ | ||
| 27 | .max_reqs = ~0U, \ | ||
| 28 | } | ||
| 29 | |||
| 30 | #define INIT_MM(name) \ | 18 | #define INIT_MM(name) \ |
| 31 | { \ | 19 | { \ |
| 32 | .mm_rb = RB_ROOT, \ | 20 | .mm_rb = RB_ROOT, \ |
| @@ -185,6 +173,7 @@ extern struct cred init_cred; | |||
| 185 | INIT_IDS \ | 173 | INIT_IDS \ |
| 186 | INIT_TRACE_IRQFLAGS \ | 174 | INIT_TRACE_IRQFLAGS \ |
| 187 | INIT_LOCKDEP \ | 175 | INIT_LOCKDEP \ |
| 176 | INIT_FTRACE_GRAPH \ | ||
| 188 | } | 177 | } |
| 189 | 178 | ||
| 190 | 179 | ||
