X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fpid.c;h=f815455431bff3c95855a674086e6c1d8322a7c4;hb=ca6435f188a0ce40eae716c158053e49130886a3;hp=d1db36b94674dbdc318845233b1804c659515740;hpb=f768f9d3757be475a20cb5f9d63bda45934150b1;p=linux-2.6 diff --git a/kernel/pid.c b/kernel/pid.c index d1db36b946..f815455431 100644 --- a/kernel/pid.c +++ b/kernel/pid.c @@ -537,6 +537,7 @@ err_alloc: return NULL; } +#ifdef CONFIG_PID_NS static struct pid_namespace *create_pid_namespace(int level) { struct pid_namespace *ns; @@ -621,6 +622,7 @@ void free_pid_ns(struct kref *kref) if (parent != NULL) put_pid_ns(parent); } +#endif /* CONFIG_PID_NS */ void zap_pid_ns_processes(struct pid_namespace *pid_ns) {