diff options
| author | Felix Blyakher <felixb@sgi.com> | 2009-06-10 18:07:47 -0400 |
|---|---|---|
| committer | Felix Blyakher <felixb@sgi.com> | 2009-06-10 18:07:47 -0400 |
| commit | 4e73e0eb633f8a1b5cbf20e7f42c6dbfec1d1ca7 (patch) | |
| tree | 0cea46e43f0625244c3d06a71d6559e5ec5419ca /include/linux/init_task.h | |
| parent | 4156e735d3abde8e9243b5d22f7999dd3fffab2e (diff) | |
| parent | 07a2039b8eb0af4ff464efd3dfd95de5c02648c6 (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
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 | ||
