aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/pid.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/pid.c')
-rw-r--r--kernel/pid.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/pid.c b/kernel/pid.c
index f66162f2359b..0291804151b5 100644
--- a/kernel/pid.c
+++ b/kernel/pid.c
@@ -68,9 +68,7 @@ static inline int mk_pid(struct pid_namespace *pid_ns,
68 * the scheme scales to up to 4 million PIDs, runtime. 68 * the scheme scales to up to 4 million PIDs, runtime.
69 */ 69 */
70struct pid_namespace init_pid_ns = { 70struct pid_namespace init_pid_ns = {
71 .kref = { 71 .kref = KREF_INIT(2),
72 .refcount = ATOMIC_INIT(2),
73 },
74 .pidmap = { 72 .pidmap = {
75 [ 0 ... PIDMAP_ENTRIES-1] = { ATOMIC_INIT(BITS_PER_PAGE), NULL } 73 [ 0 ... PIDMAP_ENTRIES-1] = { ATOMIC_INIT(BITS_PER_PAGE), NULL }
76 }, 74 },