X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fpid.c;h=f815455431bff3c95855a674086e6c1d8322a7c4;hb=98f20fb6a9b1db4ef6ab19e5eb0e41f04d38b4aa;hp=d1db36b94674dbdc318845233b1804c659515740;hpb=81f8320f624a785d77443ace83391d0fdee695f6;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) {