diff options
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/pid.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/pid.c b/kernel/pid.c index d76f59326bd4..eb66bd2953ab 100644 --- a/kernel/pid.c +++ b/kernel/pid.c | |||
| @@ -27,11 +27,13 @@ | |||
| 27 | #include <linux/bootmem.h> | 27 | #include <linux/bootmem.h> |
| 28 | #include <linux/hash.h> | 28 | #include <linux/hash.h> |
| 29 | #include <linux/pid_namespace.h> | 29 | #include <linux/pid_namespace.h> |
| 30 | #include <linux/init_task.h> | ||
| 30 | 31 | ||
| 31 | #define pid_hashfn(nr) hash_long((unsigned long)nr, pidhash_shift) | 32 | #define pid_hashfn(nr) hash_long((unsigned long)nr, pidhash_shift) |
| 32 | static struct hlist_head *pid_hash; | 33 | static struct hlist_head *pid_hash; |
| 33 | static int pidhash_shift; | 34 | static int pidhash_shift; |
| 34 | static struct kmem_cache *pid_cachep; | 35 | static struct kmem_cache *pid_cachep; |
| 36 | struct pid init_struct_pid = INIT_STRUCT_PID; | ||
| 35 | 37 | ||
| 36 | int pid_max = PID_MAX_DEFAULT; | 38 | int pid_max = PID_MAX_DEFAULT; |
| 37 | 39 | ||
