|
@@ -68,9 +68,7 @@ static inline int mk_pid(struct pid_namespace *pid_ns,
|
|
* the scheme scales to up to 4 million PIDs, runtime.
|
|
* the scheme scales to up to 4 million PIDs, runtime.
|
|
*/
|
|
*/
|
|
struct pid_namespace init_pid_ns = {
|
|
struct pid_namespace init_pid_ns = {
|
|
- .kref = {
|
|
|
|
- .refcount = ATOMIC_INIT(2),
|
|
|
|
- },
|
|
|
|
|
|
+ .kref = KREF_INIT(2),
|
|
.pidmap = {
|
|
.pidmap = {
|
|
[ 0 ... PIDMAP_ENTRIES-1] = { ATOMIC_INIT(BITS_PER_PAGE), NULL }
|
|
[ 0 ... PIDMAP_ENTRIES-1] = { ATOMIC_INIT(BITS_PER_PAGE), NULL }
|
|
},
|
|
},
|