]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/pid_namespace.h
pid: generalize task_active_pid_ns
[linux-2.6-omap-h63xx.git] / include / linux / pid_namespace.h
index d82fe825d62f9571fe6412700d854a326f5d8c4c..38d10326246afbbec371b5cddc2beaff37f1dd48 100644 (file)
@@ -79,11 +79,7 @@ static inline void zap_pid_ns_processes(struct pid_namespace *ns)
 }
 #endif /* CONFIG_PID_NS */
 
-static inline struct pid_namespace *task_active_pid_ns(struct task_struct *tsk)
-{
-       return tsk->nsproxy->pid_ns;
-}
-
+extern struct pid_namespace *task_active_pid_ns(struct task_struct *tsk);
 void pidhash_init(void);
 void pidmap_init(void);