diff options
Diffstat (limited to 'kernel/pid.c')
-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 d1db36b94674..f815455431bf 100644 --- a/kernel/pid.c +++ b/kernel/pid.c | |||
@@ -537,6 +537,7 @@ err_alloc: | |||
537 | return NULL; | 537 | return NULL; |
538 | } | 538 | } |
539 | 539 | ||
540 | #ifdef CONFIG_PID_NS | ||
540 | static struct pid_namespace *create_pid_namespace(int level) | 541 | static struct pid_namespace *create_pid_namespace(int level) |
541 | { | 542 | { |
542 | struct pid_namespace *ns; | 543 | struct pid_namespace *ns; |
@@ -621,6 +622,7 @@ void free_pid_ns(struct kref *kref) | |||
621 | if (parent != NULL) | 622 | if (parent != NULL) |
622 | put_pid_ns(parent); | 623 | put_pid_ns(parent); |
623 | } | 624 | } |
625 | #endif /* CONFIG_PID_NS */ | ||
624 | 626 | ||
625 | void zap_pid_ns_processes(struct pid_namespace *pid_ns) | 627 | void zap_pid_ns_processes(struct pid_namespace *pid_ns) |
626 | { | 628 | { |